Skip to main content
All docs
V19.1
.NET Framework 4.5.2+

DataTableExporter(DataTable, Range, Boolean) Constructor

Initializes a new instance of the DataTableExporter class with the specified settings.

Namespace: DevExpress.Spreadsheet.Export

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public DataTableExporter(
    DataTable dataTable,
    Range range,
    bool rangeHasHeaders
)

Parameters

Name Type Description
dataTable DataTable

A DataTable object that is the table that will be populated with exported data.

range Range

A Range that is the worksheet cell range containing data for export.

rangeHasHeaders Boolean

true, if the first row in a cell range contains column names instead of data for export; otherwise, false.

Remarks

Use this constructor to instantiate a data exporter.

See Also