How to store a dataset in a viewstate?
Answers were Sorted based on User's Feedback
Dataset can be stored in the viewstate. any object that
can be serializable can be stored in the viewstate. We can
serialize the dataset and then can be saved int he viewstate..
Is This Answer Correct ? | 24 Yes | 4 No |
Answer / jitender
dataset can be stored in the viewstate. any object that can
be serializable can be stored in the viewstate. we can
serialize the dataset and then can be saved in the viewsate
Is This Answer Correct ? | 12 Yes | 2 No |
Answer / 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 |
What are the different web pages?
what are Httpmodule and HttpHandler?
What is the function used for removing an event listener?
where the stored procedure are written in business logic or data acess layer?
How to write test case (Unit test plan)
Can two web application share a session and application variable ?
5 Answers Satyam, V3 Engineers,
I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?
What is the function of new view engine in asp.net? : asp.net mvc
difference between caching objects in session objects?
What are typed datasets?
what is postback implementation?when pre-render event n init event is fired?
write six HTTP request method?