WarNov.ExcelReader 2.0.0

Excel Reader using DocumentFormat.OpenXml. Reads the content of a cell and returns it as a string.

Install-Package WarNov.ExcelReader -Version 2.0.0
dotnet add package WarNov.ExcelReader --version 2.0.0
<PackageReference Include="WarNov.ExcelReader" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WarNov.ExcelReader --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ExcelReader

This is a lightweight Excel Reader using DocumentFormat.OpenXml. It just does one thing:
Read the content of a cell and return it as a string.

The main method ReadCell just requires:

  • The reference to the spreadsheet (either by the path of the Excel file or using directly a SpreadSheet from DocumentFormat.OpenXml.Spreadsheet
  • The number of the worksheet where the cell is
  • The number of the row
  • The name of the column

ExcelReader

This is a lightweight Excel Reader using DocumentFormat.OpenXml. It just does one thing:
Read the content of a cell and return it as a string.

The main method ReadCell just requires:

  • The reference to the spreadsheet (either by the path of the Excel file or using directly a SpreadSheet from DocumentFormat.OpenXml.Spreadsheet
  • The number of the worksheet where the cell is
  • The number of the row
  • The name of the column

Release Notes

With these new release, columns are not required to be passed by number. Just pass the name of the column as a string: "AB". This makes more intuitive the use of the library but above all solve some issues when reading empty cells.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.0 243 8/30/2018
1.0.0 253 9/26/2017