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
What are the session variables?
What does the .webpart file do?
How use Xml data in ASP.net?
Explain asp.net application life cycle?
In which event of the page viewstate is available?
What is asp.net mvc? : asp.net mvc
Describe paging in asp.net?
Write a code for sending an email from asp.net application.
How can you apply a theme to your asp.net application?
Out of ASP or ASP.NET which one is stateless?
What is the maximum number of classes that can be contained in one dll file?
What is cached data phone?
Explain some of the major built-in objects in asp.net
What is a uri query?
What does mvc represent in asp.net? : asp.net mvc