Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting dataset to CSV

Status
Not open for further replies.

uhu

IS-IT--Management
May 21, 2003
40
NZ
How do I export my VB .net dataset to a CSV file ?

or any link discussing this issue ?

thanks in advance

vito
 
If you're just writing a plain text file that's comma-delimited, You might try the

System.IO.StreamWriter

class. Just specify the file name, whether you're appending or not, and then use the WriteLine() method to write the data for a given line. It works very much like the printf() function in C.

hth

Ben
A programmer was drowning. Lots of people watched but did nothing. They couldn't understand why he yelled "F1!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top