Click or drag to resize

Worksheet ExportDataTable Method (CellRange, ExportTableOptions)

Exports the data from the specified cell range to 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(
	CellRange range,
	ExportTableOptions options
)

Parameters

range
Type: Spire.Xls CellRange
The cell range to export.
options
Type: Spire.Xls ExportTableOptions
The options for exporting the table.

Return Value

Type: DataTable
A DataTable containing the data from the specified cell range.
See Also