Benefits of using Viewstate are as following:-
Limitations of using Viewstate are as following: -
Below is sample code of storing values in view state.
this.ViewState["EnterTime"] = DateTime.Now.ToString();
Following is the video which demonstrates Authentication and Authorization in ASP.NET