ExcelWorksheetCreateDataTable Method

Note: This API is now obsolete.

Extracts data from used cells of this worksheet to a new DataTable. DataTable column type is determined by the ColumnTypeResolution.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1033
Syntax
[ObsoleteAttribute("Use 'GemBox.Spreadsheet.ExcelWorksheet.CreateDataTable(GemBox.Spreadsheet.CreateDataTableOptions)' method instead. For more info, see http://www.gemboxsoftware.com/spreadsheet/help/html/Obsolete_Members.htm#ExcelWorksheetCreateDataTable2.")]
public DataTable CreateDataTable(
	ColumnTypeResolution resolution
)

Parameters

resolution
Type: GemBox.SpreadsheetColumnTypeResolution
Resolution type that determines DataTable column type.

Return Value

Type: DataTable
DataTable with data from used cells.
See Also