Answer: The viewstate is encrypted format of the data generated by ASP.NET+IIS for first time when page has request by the browser for control existing in the page. If the information is to be shared across different controls, it can be placed in the viewstate of the page, if it is to be accessed within the scope of a single control, and then it can be placed within the viewstate of the control. The type of info one can save here may be simple data types or even complex user defined objects.further reading for viewstate here |