GridCells.Export

GridCells.Export method

Exports data in the Cells collection of a WebWorksheet to a new DataTable object

public DataTable Export(int startRow, int startColumn, int rows, int columns, 
    bool exportColumnName, bool isVertical)
ParameterTypeDescription
startRowInt32The row number of the first cell to export out.
startColumnInt32The column number of the first cell to export out.
rowsInt32Number of rows to be imported.
columnsInt32Number of columns to be imported.
exportColumnNameBooleanIndicates whether the data in the first row are exported as the column name of the DataTable
isVerticalBooleanTrue if a row in Excel file represents a row in DataTable. False if a column in Excel file represents a row in DataTable.

Return Value

Exported DataTable object.

See Also