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 DataReaderBase.ReadRecordEventArgs containing data related to this event. The following DataReaderBase.ReadRecordEventArgs properties provide information specific to this event.

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

See Also

DataReaderBase Class | DataStreams.Common Namespace