CsvReader
CsvReader copied to clipboard
CurrentRecordIndex does not show the right index value
Hi,
I'm testing this to apply Custom Error Handling Using Events Scenario following the http://www.codeproject.com/Articles/9258/A-Fast-CSV-Reader
When I extract the value from ParseErrorEventArgs e.Error.CurrentRecordIndex, the index number was not coming from the total input list rather it's coming from parse records.
E.g. if the were a problem in line 3 and 5, CurrentRecordIndex is provided as 2 and 3. The field number provided from error argument is also not correct.
Regards Joe