CellsExportDataTableAsString Method (Int32, Int32, Int32, Int32)

Exports data in the Cells collection to a DataTable object.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public DataTable ExportDataTableAsString(
	int firstRow,
	int firstColumn,
	int totalRows,
	int totalColumns
)

Parameters

firstRow
Type: SystemInt32
The row number of the first cell to export out.
firstColumn
Type: SystemInt32
The column number of the first cell to export out.
totalRows
Type: SystemInt32
Number of rows to be imported.
totalColumns
Type: SystemInt32
Number of columns to be imported.

Return Value

Type: DataTable
Exported DataTable object.
Remarks
All data in the Cells collection are converted to strings.
See Also