Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

DataTableExporter Members

Performs export of the worksheet range to the data table.

Constructors

Name Description
DataTableExporter(DataTable, Range, Boolean) Initializes a new instance of the DataTableExporter class with the specified settings.

Properties

Name Description
DataTable Provides access to the DataTable containing exported data.
Options Provides access to various options that specify how the export and data conversion are performed.
Range Gets the worksheet cell range containing data for export.
RangeHasHeaders Gets whether the first row of the cell range contains column names.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetConverter(Type, String, Int32) Obtains the converter used by the DataTableExporter for the specified column.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
CellValueConversionError Fires if an error occurs during conversion of a specific cell value to the value which should be stored in a data table.
ProcessEmptyRow Occurs when an empty row is encountered during export and the DataTableExportOptions.SkipEmptyRows property is false.
See Also