I ahve a grid view which has its inital bind done to a datatable.
I need to extract the datasource back into a datatable. When I try the following the datasource shows empty(Nothing)
Dim dt As DataTable = DirectCast(gvSelect.DataSource, DataTable)
On my page load I get data using ADO.NET
and then assign the datatable as the datasource of the gridview