CsvReader test for EOF

75 views
Skip to first unread message

Joe

unread,
Nov 15, 2011, 2:28:07 PM11/15/11
to CSVChat
Hi,

Is there away to test for end of file through the CsvReader? Thanks.

Regards,
Joe

shriop

unread,
Nov 15, 2011, 8:51:53 PM11/15/11
to CSVChat
I have a feeling I don't understand your intention with your question,
but the way CsvReader is meant to be used is to loop "while
reader.ReadRecord()". ReadRecord() will return false when the end of
the file is found. Were you looking for something else?

Bruce Dunwiddie
Reply all
Reply to author
Forward
0 new messages