Answer Posted / pradhan prasanta kumar
Hi..
store a dataset in a view state is not Recommend.
//da(sqldataadapter);dataset dSet
da.Fill(dSet);
System.IO.StringWriter sw = new System.IO.StringWriter();
// Write the DataSet to the ViewState property.
dSet.WriteXml(sw);
ViewState["dSet"] = sw.ToString();
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the web.config file in asp?
What are the security types in asp.net?
What is the use of ASP.NET routing?
Can you change a Master Page dynamically at runtime?
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?
Why mvc is faster than asp.net? : Asp.Net MVC
What is the difference between web.config and machine.config in ASP.NET?
What is in a session cookie?
Give me one example of Web API Routing?
Explain the differences between managed and unmanaged code?
What is the function used for removing an event listener?
How can we Validate a Controls in ASP.NET page using JavaScript?
What is the use of view state?
To bind columns manually which tags do you need to add within the asp:datagrid ?
What are session cookies?