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
)
Public Function ExportDataTable (
range As CellRange,
options As ExportTableOptions
) As DataTable
public:
DataTable^ ExportDataTable(
CellRange^ range,
ExportTableOptions^ options
)
member ExportDataTable :
range : CellRange *
options : ExportTableOptions -> DataTable
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