CsvReader icon indicating copy to clipboard operation
CsvReader copied to clipboard

CurrentRecordIndex does not show the right index value

Open rocker8942 opened this issue 9 years ago • 0 comments

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

rocker8942 avatar Aug 12 '15 06:08 rocker8942