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!"