This is my code.
GridView1.DataSource = Session["Seats"];
DataSet ds3 = new DataSet();
ds3 = (DataSet)GridView1.DataSource;
When I am trying to convert gridview to dataset I got one error .
i.e
Unable to cast object of type 'System.Collections.Generic.List`1[System.String]' to type 'System.Data.DataSet'.
How to solve this problem.
Loading

VulpesPosted May 29, 2011, 1:37 PM
Sam HobbsPosted May 29, 2011, 5:24 AM
What is it that you are trying to do? Why do you need to do that conversion?
Also note that there are many great articles in this web site that can help you.