Question: what is the difference between viewstate and hidden field in asp.net?
Answer: ViewState is an ASP.Net state mechanism to retain data across PostBack. ... If you save data in ViewState it will not be seen by user as it is encoded. Hidden Field. Hidden Field is a Form control similar to TextBox but the only difference is that Hidden Field keeps the data hidden from the user.