Click or drag to resize

WorksheetExportDataTable Method (CellRange, Boolean, Boolean)

Exports worksheet data into a DataTable.

Namespace:  Spire.Xls
Assembly:  Spire.XLS (in Spire.XLS.dll) Version: 11.9.3.0 (11.9.3.5040)
Syntax
public DataTable ExportDataTable(
	CellRange range,
	bool exportColumnNames,
	bool computedFormulaValue
)

Parameters

range
Type: Spire.XlsCellRange
Range to export.
exportColumnNames
Type: SystemBoolean
Indicates if export column name.
computedFormulaValue
Type: SystemBoolean
Indicates wheter compute formula value.

Return Value

Type: DataTable
exported datatable
See Also