Excel.ExcelReader Class
Namespace: Nucleus.Extensions.Excel
Assembly: Nucleus.Extensions.dll
Non-generic exporter.
Constructors
ExcelReader
(Stream) Constructor
ExcelReader (System.IO.Stream)
Constructor, used by the generic ExcelReader class.
ExcelReader
(IXLWorksheet) Constructor
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
|
Methods
ReadHeadingRow
ReadHeadingRow ()
Read the heading row and set the row index to the first data row.
ReadRow
ReadRow ()
Read the next row of the current worksheet and return an object array containing the values.
SetInputStream
(Stream) Method
SetInputStream (System.IO.Stream)
Read a spreadsheet from the specified stream.