GemBox.Spreadsheet

ExcelFile.CsvParseNumbersDuringLoad Property

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

public bool CsvParseNumbersDuringLoad {get; set;}

Remarks

Default value for this property is true.

All values (including numbers) in CSV files are stored as text. By default, any of LoadCsv() 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 behaviour (for example, you want IDs like "00935" to remain strings), set this property to false.

See Also

ExcelFile Class | GemBox.Spreadsheet Namespace