Answer Posted / lalit pradhan
//Create new dataset :
DataSet ds = new DataSet();
//Store the dataset directly into view state
ViewState["dsn"]=ds;
//retrieve the dataset where it required
DataSet ds = (DataSet)ViewState["dsn"];
GridView1.DataSource = ds.Tables[0];
GridView1.DataBind();
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Why is it preferred to not use finalize for clean up?
Do session use cookies in asp net?
What is asp.net version?
How can we apply themes to an asp.net application?
What is the parent class of all the web server control?
How would you implement inheritance using c#?
What is the typical session identifier?
What threading model used in asp and asp.net?
Describe paging in asp.net?
How do I use a proxy server when invoking a web service?
What is cas?
What is Cookies Less Session?
Which protocol is used to call web service?
COM+ Used ________________ Isolation Level
Explain the main function of url routing system in asp.net mvc? : asp.net mvc