Is there a quick way to export a DataTable, or DataGridView to a CSV or Excel file? I'm pulling the data from a Foxpro file so I can't use Sql's DTS, basically I'm doing a SELECT * FROM TABLE.
Printable View
Is there a quick way to export a DataTable, or DataGridView to a CSV or Excel file? I'm pulling the data from a Foxpro file so I can't use Sql's DTS, basically I'm doing a SELECT * FROM TABLE.
Why can't you use DTS? DTS should be able to pull in the VFP file and out put a text file of some kind.
-tg