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
How do you implement sql caching in asp.net?
Can viewstate be accessed in another page?
How would you enable impersonation in the web.config file?
List down the sequence of methods called during the page load.
Why asp.net is used?
Can we handle the error and redirect to some pages using web.config?
What are server objects?
How many types of file extensions for razor views in ASP.Net MVC?
How do I send an email message from my ASP.NET page?
When Cookies are expired in ASP.NET?
Why is global asax is used for?
How do you use viewstate?
In a Repeater control how one can provide an alternating color scheme ?
What is the use of asp.net web api?
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)