if(!Page.IsPostback) { objMyClass= new MyClass(); }
ViewState["__MyClass"] = objMyClass;
MyClass objMyClass = ViewState["__MyClass"] as MyClass;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)