Quantcast
Channel: Excel Data Reader - Read Excel files in .NET
Viewing all articles
Browse latest Browse all 448

Commented Unassigned: Inaccurate column count causes data to be missed. [12605]

$
0
0
Discussion [https://exceldatareader.codeplex.com/discussions/474291](https://exceldatareader.codeplex.com/discussions/474291)

I am trying to read in a large amount of data using your wonderful tool, which is ideal.
The problem is that the xlsx file in question has presumably been generated by a tool, as unless you manually open and then save and close the file, the ExcelDataReader will only read in the first column.

There are in fact 13 columns, but the first 2 rows are merged.

Having looked at the source code and stepped through, I can see that while reading the rows in, the array to hold the values is 1 in size, so all the following values are not saved, even though they are read in.

Any help would be much appreciated. :)
Comments: ** Comment from web user: TMVector **

Sorry to reply so late, only recently came back to work.
I'm afraid it did not fix the issue. Perhaps my file is simply poorly generated.
Thank you very much for your help though :)


Viewing all articles
Browse latest Browse all 448


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>