www.csvreader.com

This event is raised after each record has been read and before the values have been converted to the destination type. This event can be used to modify values in a record, add values to a record, or skip a record entirely.

[Visual Basic]
Public Event ReadRecord As ReadRecordEventHandler
[C#]
public event ReadRecordEventHandler ReadRecord;

Event Data

The event handler receives an argument of type CsvDataReader.ReadRecordEventArgs containing data related to this event. The following CsvDataReader.ReadRecordEventArgs properties provide information specific to this event.

PropertyDescription
SkipRecord Whether this record should be skipped or not. Default is false.
Values An array of column values for this record.

See Also

CsvDataReader Class | Csv Namespace