dotnet add package WarNov.ExcelReader --version 2.0.0
NuGet\Install-Package WarNov.ExcelReader -Version 2.0.0
<PackageReference Include="WarNov.ExcelReader" Version="2.0.0" />
paket add WarNov.ExcelReader --version 2.0.0
#r "nuget: WarNov.ExcelReader, 2.0.0"
// Install WarNov.ExcelReader as a Cake Addin #addin nuget:?package=WarNov.ExcelReader&version=2.0.0 // Install WarNov.ExcelReader as a Cake Tool #tool nuget:?package=WarNov.ExcelReader&version=2.0.0
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
|Product||Versions Compatible and additional computed target framework versions.|
|.NET Framework||net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
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.