[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Collapse]Office File API
  Demo Application
  Redistribution and Deployment
 [Expand]Spreadsheet Document API
 [Expand]Word Processing Document API
 [Expand]PDF Document API
 [Expand]Excel Export Library
 [Expand]Snap Report API
 [Expand]Zip Compression and Archive API
 [Expand]Barcode Generation API
 [Expand]Unit Conversion API
 [Collapse]API Reference
  [Expand]DevExpress.BarCodes
  [Expand]DevExpress.Compression
  [Expand]DevExpress.Docs.Text
  [Expand]DevExpress.Pdf
  [Expand]DevExpress.Snap
  [Collapse]DevExpress.Spreadsheet
   [Expand]Workbook Class
   [Expand]WorkbookExtensions Class
   [Collapse]WorksheetExtensions Class
     WorksheetExtensions Members
    [Collapse]WorksheetExtensions Methods
     [Collapse]CreateDataTable Method
       CreateDataTable(Worksheet, Range, Boolean) Method
       CreateDataTable(Worksheet, Range, Boolean, Boolean) Method
      CreateDataTableExporter Method
     [Expand]Import Method
  [Expand]DevExpress.Spreadsheet.Export
  [Expand]DevExpress.UnitConversion
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

WorksheetExtensions.CreateDataTable Method

Creates an empty data table from the specified cell range.

Use of this method in production code requires a license to the DevExpress Office File API or the DevExpress Universal Subscription.

Expanded Overload list

  Name Description
Public methodStatic member static DataTable CreateDataTable(Worksheet sheet, Range range, bool rangeHasHeaders) Creates an empty data table from the specified cell range.

Use of this method in production code requires a license to the DevExpress Office File API or the DevExpress Universal Subscription.

Public methodStatic member static DataTable CreateDataTable(Worksheet sheet, Range range, bool rangeHasHeaders, bool stringColumnType) Creates an empty data table from the specified cell range.

Use of this method in production code requires a license to the DevExpress Office File API or the DevExpress Universal Subscription.

Expanded See Also

Is this topic helpful?​​​​​​​