Reads a range of cells from the provided stream.
public static NDataSet ReadRange(
System.IO.Stream ,
System.string ,
System.string ,
System.bool
)
Parameters
- stream
- The System.IO.Stream from which to read the Excel data.
- sheetName
- The name of the sheet that contains the data.
- range
- The range of cells in Excel annotaion.
For example "A1:G20"
- headerRow
- Indicates whether the first row of each table contains column names.
Return Value
An
Nevron.Nov.Data.NDataSet with a table for each Excel sheet.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)