ExcelFileCsvParseNumbersDuringLoad Property

Note: This API is now obsolete.

Gets or sets whether LoadCsv() methods will try to convert text values to numbers.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version:
[ObsoleteAttribute("Use 'GemBox.Spreadsheet.CsvLoadOptions.ParseNumbers' property instead. For more info, see https://www.gemboxsoftware.com/spreadsheet/help/html/Obsolete_Members.htm#ExcelFileCsvParseNumbersDuringLoad.")]
public bool CsvParseNumbersDuringLoad { get; set; }

Property Value

Type: Boolean

Default value for this property is .

All values (including numbers) in CSV files are stored as text. By default, any of LoadCsv(String, Char) overloads will try to parse text values as numbers and if successful cell will be filled with Double value. If you don't want such behavior (for example, you want IDs like "00935" to remain strings), set this property to .

See Also