Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / Workbook Class / ImportData Method / ImportData(Stream,String) Method
The fileStream of a workbook.
The name of the data source. The source name could be:
worksheet "Sheet1"
table "Sheet1!Table1"
range "Sheet1!A1:C5"
In This Topic
    ImportData(Stream,String) Method
    In This Topic
    Import all the data of the specified source of the file.
    Syntax
    public static System.object[,] ImportData( 
       System.IO.Stream fileStream,
       System.string sourceName
    )

    Parameters

    fileStream
    The fileStream of a workbook.
    sourceName
    The name of the data source. The source name could be:
    worksheet "Sheet1"
    table "Sheet1!Table1"
    range "Sheet1!A1:C5"

    Return Value

    An array for the data.
    See Also