Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to store a dataset in a viewstate?

Answers were Sorted based on User's Feedback



How to store a dataset in a viewstate?..

Answer / mahesh kotekar

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

How to store a dataset in a viewstate?..

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

How to store a dataset in a viewstate?..

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

Post New Answer

More ASP.NET Interview Questions

Is viewstate enabled by default?

0 Answers  


can we store textbox and com components in viewstate?

4 Answers   Microsoft,


Explain the difference between asp.net mvc and asp.net webforms

0 Answers  


What is the current version of asp.net?

0 Answers  


In what order do the events of an ASPX page execute, As a developer is it important to understand these events?

4 Answers  


Which is the namespace used to write error message in event Log File?

1 Answers  


What is Virtual path in ASP.Net

2 Answers   Proteans,


What are session variables?

2 Answers   Microsoft,


What line in the following XML document will generate an error? <?xml version=?1.0?> <employees> <employee> <name>Bob Andcarrol</name> </employee> <employee> <name>Robert Burns</name> </employee> </employees> a) 6 b) 4 c) 1 d) There is no error

3 Answers   Syntax Softtech,


i cant get Primary output selection from the Dialog box While Creating Setup and Deployment the web application how to solve it..

1 Answers  


Which method do you invoke on the DataAdapter control to load your generated dataset with data?

2 Answers   Siebel Systems,


Describe the application event handlers in ASP.NET?

0 Answers   HCL,


Categories