i need to export all the data from my datagrid view to a text file on my desktop .
is it possible to do that ?
Printable View
i need to export all the data from my datagrid view to a text file on my desktop .
is it possible to do that ?
You can use the dataSet to save the content to a xml file:
Code:ds.WriteXml(@"C:\Data.xml");