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
)
Public Function ExportDataTable (
range As CellRange,
exportColumnNames As Boolean,
computedFormulaValue As Boolean
) As DataTable
public:
DataTable^ ExportDataTable(
CellRange^ range,
bool exportColumnNames,
bool computedFormulaValue
)
member ExportDataTable :
range : CellRange *
exportColumnNames : bool *
computedFormulaValue : bool -> DataTable
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