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

CellValueToColumnTypeConverter Properties

Default converter used by the DataTableExporter to convert cell values to any data type except String.
Name Description
CheckNarrowingConversion Gets or sets whether the result of the conversion is within the range of the destination data type.
ConvertStringValues Gets or sets whether an attempt is made to convert the text displayed in a worksheet cell to a value of the type indicated by the type of the destination column in the DataTable.
EmptyCellValue Gets or sets a value used when exporting an empty cell.
PreferredCulture Gets or sets the information used to format culture-specific data, such as DateTime, DateTimeOffset, and the numeric types.
PreferredNumberStyles Gets or sets the styles permitted in strings when an attempt is made to convert a string to the integral or the floating point numeric types.
SkipErrorValues Gets or sets whether to skip cells with error values.
TreatStringAsZero Gets or sets whether a cell containing text should be converted to a 0 (zero) numeric value.
See Also