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

    Parameters

    fileName
    The path and name for the file.
    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