Click or drag to resize

ExportTableOptions KeepDataType Property

Gets or sets whether to preserve data types. If true, exported columns will have their DataTable column types set based on the cell's data type (e.g., DateTime, decimal). If false, all columns will have their data type set to string. Note: This option only takes effect when KeepDataFormat is false.

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public bool KeepDataType { get; set; }

Property Value

Type: Boolean
See Also