Answer Posted / rajamurugesh
//Create new dataset :
DataSet ds = new DataSet();
//Store the dataset directly into view state
ViewState["dsn"]=ds;
//retrieve the dataset where it required
GridView1.DataSource = (DataSet)ViewState["dsn"];
| Is This Answer Correct ? | 44 Yes | 7 No |
Post New Answer View All Answers
Explain difference between friend and protected friend?
What is a 401 redirect?
Can you explain the importance of finalize method in .net?
What is asp net_sessionid?
Explain the purpose of storyboard.targetproperty.
How would you turn off cookies on a page of a website?
What is scope of an application variable in asp.net?
Explain the use of view state?
Elaborate differentiation between Cache and Application?
If you are using two select queries and retrieving data. how do you access second query's result set using data reader?
Can I combine classic asp and asp.net pages?
What’s the difference between response .redirect and server.transfer?
What is the use of execute non query in asp.net?
Explain about Multi-Language integration?
What is the postback property in asp.net?