ImportDataGrid

ImportDataGrid(DataGrid, int, int, bool)

Imports a DataGrid into a worksheet.

public int ImportDataGrid(DataGrid dataGrid, int firstRow, int firstColumn, bool insertRows)
Parameter Type Description
dataGrid DataGrid The DataGrid object to be imported.
firstRow Int32 The row number of the first cell to import in.
firstColumn Int32 The column number of the first cell to import in.
insertRows Boolean Indicates whether extra rows are added to fit data.

Return Value

Total number of rows imported

See Also


ImportDataGrid(DataGrid, int, int, int, int, bool)

Imports a DataGrid into a worksheet.

public int ImportDataGrid(DataGrid dataGrid, int firstRow, int firstColumn, int totalRows, 
    int totalColumns, bool insertRows)
Parameter Type Description
dataGrid DataGrid The DataGrid object to be imported.
firstRow Int32 The row number of the first cell to import in.
firstColumn Int32 The column number of the first cell to import in.
totalRows Int32 Number of rows to be imported.
totalColumns Int32 Number of columns to be imported.
insertRows Boolean Indicates whether extra rows are added to fit data.

Return Value

Total number of rows imported

See Also


ImportDataGrid(DataGrid, int, int, int, int, bool, bool)

Imports a DataGrid into a worksheet.

public int ImportDataGrid(DataGrid dataGrid, int firstRow, int firstColumn, int totalRows, 
    int totalColumns, bool insertRows, bool importStyle)
Parameter Type Description
dataGrid DataGrid The DataGrid object to be imported.
firstRow Int32 The row number of the first cell to import in.
firstColumn Int32 The column number of the first cell to import in.
totalRows Int32 Number of rows to be imported.
totalColumns Int32 Number of columns to be imported.
insertRows Boolean Indicates whether extra rows are added to fit data.
importStyle Boolean Indicates whether importing the cell style.

Return Value

Total number of rows imported

See Also