Last post Nov 28, 2017 04:07 AM by Eric Du
Nov 27, 2017 12:20 PM|Puspa.007|LINK
Nov 27, 2017 12:26 PM|mgebhard|LINK
Explain in brief??
ViewState is a very mature and well documented ASP.NET feature. Basically, ViewState maintains the state of all server controls in the web form across post backs.
Please see the openly published reference documentation.
Nov 28, 2017 04:07 AM|Eric Du|LINK
According to your description, ViewState is used for save all control's state value, it is a object(name/value) collections. it is different from the session, it is belong to the page level, if you close the page, all value will be clear.
we could use it to store the form data or save table data provisional. About how to use it, please check the following samples:
What is View State and How it Works in ASP.Net:
Using DataTable as Temporary storage table stored in viewstate in ASP.Net: