Hello everyone..!!
I have a gridview which is databinded by datasource.
i want to convert that datasource's content into datatable.
i tried this
GridView grd = new GridView();
grd.DataSource = SqlDataSource1;
grd.DataBind();
DataTable dt = new DataTable();
dt =(DataTable)grd.DataSource;
but its not working..!!
any suggestion/links are welcomed..!!