ViewState is a mechanism to maintain state in ASP.net pages. HTTP is a stateless protocol. So we can maintain state either on server or client using sessions, cookies, hidden variables, URL, etc.
ViewState is a hidden field maintained by ASP.Net to contain page data.
Yes, Dataset can also be stored in ViewState but this is not recommended due to overhead of managing a bulk data in ViewState.
RE: What is a view state?Can Dataset be stored in view...
ViewState is a mechanism to maintain state in ASP.net pages. HTTP is a stateless protocol. So we can maintain state either on server or client using sessions cookies hidden variables URL etc.
ViewState is a hidden field maintained by ASP.Net to contain page data.
Yes Dataset can also be stored in ViewState but this is not recommended due to overhead of managing a bulk data in ViewState.
RE: What is a view state?Can Dataset be stored in view...
viewstate is mechanism to maintain state at client side. and its information is stored in html 's hidden field.its adv. is that its very easy to implement and maintain at client side and its information are in encripted form and its disadvantages are that if u stored any value in view state then u can't maintain it in other page
RE: What is a view state?Can Dataset be stored in view...
ViewState is a process which allow the state of the object to be stored in the hidden field viewstate is stored at client side i.e.viewstate is used to preserv the value of the object between postback.
RE: What is a view state?Can Dataset be stored in view state?Does datagrid has a view state?
View state is of maintaining the state of the object until the page is destroyed. In the sense viewstate maintains the state of the object in all the postbacks. Dataset can be stored in viewstate.