Click or drag to resize

Worksheet ExportDataTable Method (CellRange, Boolean, 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(
	CellRange range,
	bool exportColumnNames,
	bool computedFormulaValue
)

Parameters

range
Type: Spire.Xls CellRange
Range to export.
exportColumnNames
Type: System Boolean
Indicates if export column name.
computedFormulaValue
Type: System Boolean
Indicates wheter compute formula value.

Return Value

Type: DataTable
exported datatable
See Also