[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.CsvOpenOptions.ConvertNumericData

ConvertNumericData Property

ConvertNumericData

Gets or sets a value that indicates whether strings in a CSV text file are converted to numeric data when the file is opened.

The default value is true. When this property is true, text that can be recognized as numeric data is converted during CSV import.

Declaration
public bool ConvertNumericData { get; set; }
Public Property ConvertNumericData As Boolean
Examples
CsvOpenOptions options = new CsvOpenOptions();
options.ConvertNumericData = false;
bool convertNumericData = options.ConvertNumericData;
workbook.Open("path/to/source.csv", options);