'Declaration
Public Overloads Function ReadRange( _ ByVal fileName As System.String, _ ByVal sheetName As System.String, _ ByVal range As System.String _ ) As System.Data.DataSet
'Usage
Dim instance As NExcelReader Dim fileName As System.String Dim sheetName As System.String Dim range As System.String Dim value As System.Data.DataSet value = instance.ReadRange(fileName, sheetName, range)
Parameters
- fileName
- A relative or absolute path to the Excel file.
- sheetName
- The name of the sheet that contains the data.
- range
- The range of cells in Excel annotaion.
For example "A1:G20"
Return Value
DataSet with single table which content is the selected range.