How to remove values from ViewState?

 Posted by vishalneeraj-24503 on 12/26/2013 | Category: ASP.NET Interview questions | Views: 1037 | Points: 40
Answer:

With the help of Remove() static method of ViewState,we can remove items or values from ViewState.

For Example:-

ViewState.Remove("Name");


Where Name is a Key.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response