Nevron .NET Vision
Nevron.Chart Namespace / NExcelReader Class / ReadRange Method / ReadRange(String,String,String) Method
A relative or absolute path to the Excel file.
The name of the sheet that contains the data.
The range of cells in Excel annotaion.

For example "A1:G20"



In This Topic
    ReadRange(String,String,String) Method
    In This Topic
    Reads a range of cells from provided Excel file.
    Syntax
    '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)
    public System.Data.DataSet ReadRange( 
       System.string fileName,
       System.string sheetName,
       System.string 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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also