When reading an .xlsx sheet with IExcelDataReader.AsDataSet strings that only contain numbers are converted to decimals
like 0100 becomes 100.0
If I use ' to force a string it works.
I would be greatful for a quick update.
Comments: ** Comment from web user: LandLubberNL **
like 0100 becomes 100.0
If I use ' to force a string it works.
I would be greatful for a quick update.
Comments: ** Comment from web user: LandLubberNL **
The spreadsheet cell has a formula to extract a piece of a string and the resulting string is a General Ledger name. I can't rely on it to be a certain length, I have to retrieve the actual string that is the result in Excel. (Excel shows it correctly as a string). If it happens to be 00100, the reader returns a datatable with a field of type double and a value of 100.0 , it should be a field of type string, value "00100".