Click or drag to resize

Worksheet ExportDataTable Method (Int32, Int32, Int32, Int32, Boolean)

Exports worksheet data into a DataTable

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public DataTable ExportDataTable(
	int firstRow,
	int firstColumn,
	int maxRows,
	int maxColumns,
	bool exportColumnNames
)

Parameters

firstRow
Type: System Int32
Row of first cell.
firstColumn
Type: System Int32
Column of first cell.
maxRows
Type: System Int32
Maximun rows to export.
maxColumns
Type: System Int32
Maximun columns to export.
exportColumnNames
Type: System Boolean
Indicates if export column name.

Return Value

Type: DataTable
Exported datatable.
See Also