Nevron .NET Vision
Nevron.Chart Namespace / NExcelReader Class / ReadRange Method / ReadRange(FileStream,String,String) Method
The System.IO.FileStream from which to read the Excel data.
The name of the sheet that contains the data.
The range of cells in Excel annotaion.

For example "A1:G20"



In This Topic
    ReadRange(FileStream,String,String) Method
    In This Topic
    Reads a range of cells from provided file stream.
    Syntax
    'Declaration
     
    
    Public Overloads Function ReadRange( _
       ByVal stream As System.IO.FileStream, _
       ByVal sheetName As System.String, _
       ByVal range As System.String _
    ) As System.Data.DataSet
    'Usage
     
    
    Dim instance As NExcelReader
    Dim stream As System.IO.FileStream
    Dim sheetName As System.String
    Dim range As System.String
    Dim value As System.Data.DataSet
     
    value = instance.ReadRange(stream, sheetName, range)
    public System.Data.DataSet ReadRange( 
       System.IO.FileStream stream,
       System.string sheetName,
       System.string range
    )

    Parameters

    stream
    The System.IO.FileStream 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"

    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