Worksheet
ExportDataTable Method (Int32, Int32, Int32, Int32, 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(
int firstRow,
int firstColumn,
int maxRows,
int maxColumns,
bool exportColumnNames
)
Public Function ExportDataTable (
firstRow As Integer,
firstColumn As Integer,
maxRows As Integer,
maxColumns As Integer,
exportColumnNames As Boolean
) As DataTable
public:
DataTable^ ExportDataTable(
int firstRow,
int firstColumn,
int maxRows,
int maxColumns,
bool exportColumnNames
)
member ExportDataTable :
firstRow : int *
firstColumn : int *
maxRows : int *
maxColumns : int *
exportColumnNames : bool -> DataTable
Parameters
-
firstRow
-
Type:
System
Int32
Row of first cell.
-
firstColumn
-
Type:
System
Int32
Column of first cell.
-
maxRows
-
Type:
System
Int32
Maximun rows to export.
-
maxColumns
-
Type:
System
Int32
Maximun columns to export.
-
exportColumnNames
-
Type:
System
Boolean
Indicates if export column name.
Return Value
Type:
DataTable
Exported datatable.
See Also