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 web server controls in asp.net?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?
What is paging in context of Memory?
Explain http handlers? Where we can use the http handlers?
Explain the difference between dataset and datareader.
Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?
Differentiate between early binding and late binding.
How could you modify xaml content from javascript?
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
Explain the use of resource manager class in .net.
What is boxing and unboxing in asp.net?
What is the difference between a default skin and a named skin?
What are the different kinds of assemblies?
Define authentication and authorization.
Where sessions are stored?