I have a process that using OleDb reads data from an excel file into a DataSet. Everything was working well until I started to see data with leading 0's in it. The text is formatted as General or Text.
I have set IMEX=1 in the OleDb connection, yet I still get a null value in the dataset for each entry with a leading 0.
Does anyone know a way around this that WORKS?
Edit
As a bit of added information, I MUST keep the leading 0's and the column is formatted as General. I have also tried Text.
The first entry that has a leading zero is in row 11 and a null is returned. All other data on this specific sheet is numbers for this column.