Skip to main content
A newer version of this page is available.
All docs
V18.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.v18.2.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