Skip to content

Speedy is an Ultra-lightweight .NET library to read/write data to Excel using Interop.

Notifications You must be signed in to change notification settings

mahmoudbdeir/Speedy

Repository files navigation

Speedy

Speedy is an Ultra-lightweight .NET library to read/write data to Excel using Interop. It adds extension methods to Interops' Sheet class to quickly read/write data from/to Microsoft Excel.

Usage

using Mastermind.MsOffice;
......
// To copy data to Excel using an extension method:
Worksheet sheet;
object[,] array = new object[NumOfRows,NumOfColumns];
    //.....fill the array
sheet.SetRange(StartRow, StartCol, array);

// To read data from Excel using an extension method:
object[,] obj = sheet.GetRange(StartRow, StartCol, NumOfRows, NumOfCols);

Testing

Two Test Projects were made for testing:

  1. GetMethodsUnitTester: That's mainly concerned about testing the get methods. It contains one class:

    1. UnitTesting: for testing all the possible test cases
  2. SetMethodsUnitTester: That's mainly concerned about testing the set methods. It contains two classes:

    1. AlphaValuesUnitTesting: that tests the set methods with alpha values, like strings
    2. NumericalValuesUnitTesting: that tests the set methods with numerical values, like integers

About

Speedy is an Ultra-lightweight .NET library to read/write data to Excel using Interop.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages