How can I export GridView.DataSource to datatable or dataset?
GridView.DataSource
Assuming your DataSource is of type DataTable, you can just do this:
myGridView.DataSource as DataTable
2.1m questions
2.1m answers
60 comments
57.0k users