I think you may just have to cast the datasource to a datatable DataTable dt = (DataTable)GridView1.DataSource;
M
Matt Ridley
@Matt Ridley
I think you may just have to cast the datasource to a datatable DataTable dt = (DataTable)GridView1.DataSource;