There are thousands of examples (google search) for converting a datatable
to a csv...I imagine you are binding your datagrid to a datatable, so this
is the way I'd recommend.
Here's just one of the many examples:
http://www.netomatix.com/GridExportToCSV.aspx
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"G Stark" <No****@nospam.com> wrote in message
news:eg**************@TK2MSFTNGP14.phx.gbl...
Hi,
Anyone done this before? I need a snippet of code that will download a
datagrid to be saved as a CSV file. I snippet found one to do excel, but
I need CSV.
--
G. Stark
MIS
Electro Rent Corp.