public List<Clist> VSList { get { //return (List<cvList>)ViewState["cvList"]; if ( !( ViewState["VSList"] is List<Clist> ) ) { // need to fix the memory and added to viewstate ViewState["VSList"] = new List<Clist>(); } return (List<Clist>)ViewState["VSList"]; } set { ViewState["VSList"] = value; } }