Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / Workbook Class / ImportData Method / ImportData(String,String,Int32,Int32,Int32,Int32) Method
The path and name for the file.
The name of the worksheet.
The first row of the range.
The first column of the range.
The count of the rows.
The count of the columns.
In This Topic
    ImportData(String,String,Int32,Int32,Int32,Int32) Method
    In This Topic
    Import the data of a specified range from a file.
    Syntax
    public static System.object[,] ImportData( 
       System.string fileName,
       System.string worksheetName,
       System.int row,
       System.int column,
       System.int rowCount,
       System.int columnCount
    )

    Parameters

    fileName
    The path and name for the file.
    worksheetName
    The name of the worksheet.
    row
    The first row of the range.
    column
    The first column of the range.
    rowCount
    The count of the rows.
    columnCount
    The count of the columns.

    Return Value

    An array for the data.
    See Also