Closed munissor closed 12 years ago
I'd accept patches. I'd expect the change to be in the Reader class: https://github.com/MikeStall/DataTable/blob/master/Sources/DataAccess/Readers.cs
The tests are in: https://github.com/MikeStall/DataTable/tree/master/Sources/DataTableTests
I fixed some build issues so that you can build and run tests from the GitHub sources. So it should be easy for you to create a patch for these issues. Else, I'll fix these issues in a few days.
It looks like it reads in just fine (DataTable.New.Read succeeds), but the problem is parsing to a strongly typed structure (dt.RowsAs<> fails)
Just pushed a fix. Incorporated the above test case as my regression test.
Hi Mike,
first of all thanks for your library. At the moment I'm using it to parse csv files containing optional columns and it works very well.
There is an issue when the CSV file contains only one column (so the separator is missing ), I receive an exception reading the rows of the file.
Following a program that reproduces the issue
I might work on a solution for the bug and submit a patch if you will accept it.
Thanks Riccardo