StreamWriter

kirstyb

Member
Joined
Sep 12, 2005
Messages
7
Programming Experience
Beginner
Hi all,

I'm new to .net and need a bit of help with manipulating data from a zipped csv file. Any one got some code to:

- unzip a csv file,
- and how to then edit the contents of the matrix within it
- save it as a separate copy (with new name)
- and zip it back up again,


I would appreciate any help as I seem to have landed myself in at the deep end.

Thanks!
 
I suggest you use ADO.NET for manipulating the CSV files. You use OleDb and treat the folder as a database and the files as tables. See www.connectionstrings.com for the appropriate connection string.

As for compression, I suggest you download the open-source #ZipLib library and look at the Zip.FastZip class, which has CreateZip and ExtractZip methods.
 
Back
Top