Nucleus .Net Core CMS

Excel.ExcelReader Class

Namespace: Nucleus.Extensions.Excel
Assembly: Nucleus.Extensions.dll
Non-generic exporter.
ExcelReader (System.IO.Stream)
Constructor, used by the generic ExcelReader class.
ExcelReader (IXLWorksheet worksheet)
Use this constructor if you want to create columns and output rows manually. The generic Excel.ExcelReader<TModel> class can auto-detect columns.
Parameters
Name Type
worksheet ClosedXML.Excel.IXLWorksheet
ReadHeadingRow ()
Read the heading row and set the row index to the first data row.
ReadRow ()
Read the next row of the current worksheet and return an object array containing the values.
SetInputStream (System.IO.Stream)
Read a spreadsheet from the specified stream.