Lightweight and fast library written in C# for reading Microsoft Excel files
Highlights in ExcelDataReader 3.4.0 since 3.3.0:
MergeCells
property returns merged cell ranges in the current sheetRowCount
property returns number of rows in the current sheetFilterColumn
callback option for AsDataSet()
Highlights in ExcelDataReader 3.3.0 since 3.2.0:
TimeSpan
values. GetValue()
returns values of type TimeSpan
when the number format contains duration formatting tokens [hh], [mm], or [ss]. This is a breaking change for users who attempted to work around the broken DateTime
-based durations beforeIExcelDataReader.GetNumberFormatString()
method returns the number format string for a valueReset()
and AsDataSet()
methods to compensate for slowness introduced by an XLSX compatibility fix in 3.2.0Highlights in ExcelDataReader 3.2.0 since 3.1.0:
RowHeight
property returns the height of the current rowRowFilter
configuration callback option for AsDataSet()Highlights in ExcelDataReader 3.1.0 since 3.0.0:
HeaderFooter
property contains information about headers and footersCodeName
property contains the current sheet's VBA code nameBreaking changes in ExcelDataReader 3.0.0 since 3.0.0-develop00086:
IDataReader.Get*
reader methods no longer attempt to convert to the requested type. Throws InvalidCastException if the field value is not of the expected typeHighlights in ExcelDataReader 3.0.0-develop00086 since 3.0.0-develop00019:
This is a major release with some breaking changes.
Highlights in ExcelDataReader 3.0.0-develop00019 since 2.1.2.3:
See #139 for the main PR.