Display file content

2 views
Skip to first unread message

heartland

unread,
Mar 12, 2008, 2:15:28 PM3/12/08
to CSVChat
Hi,

Is there a way to display file content when writing a datatable to a
CSV file?

Thank you very much

Hugh

shriop

unread,
Mar 13, 2008, 7:58:08 AM3/13/08
to CSVChat
After the file is done writing, you can open a new StreamReader object
pointing at the file and call ReadToEnd, which will return a string of
the entire file contents. Is that what you mean?

Bruce Dunwiddie

heartland

unread,
Mar 13, 2008, 9:09:39 AM3/13/08
to CSVChat
Thanks, Bruce, for your reply. Yes and No. I was wondering if there
was easy way to show file content when it was written. Open using
StreamReader should work for me if there is no eaier way.

Thanks again.
> > Hugh- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages