Yes, In Asp.Net you can store and retrieve data from ViewState. Example: //Save the text in ViewState ViewState[“Name”] = txtFirstName.Text + txt.LastName.Text //Retrieve the data String name = ViewState[“Name”].ToString(); | |
Yes
| |
Yes, The class should be marked with [Serializable] attribute. For Example:
| |
Interview Questions on ViewState ASP.NET
FAQS on ViewState Page 2
Posted by
Ramu