Dumping the DataGrid into a txt file
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Is your DataGrid bound to a dataset? If so, use DataSet.WriteXML() to write the info out to an xml file. If it is bound to a DataTable, I would add the table to a DataSet and use the above command. XML files can then be opened by word or excel or whatever. If not, then you need to use foreach loops and manually write out the data.