public class BasePage:Page { protected void SetValueToViewState(string key,object value) { this.ViewState.Add(key,value); } protected object GetValueFromViewState(string key) { return this.ViewState[key.Trim()]; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)