private void GetControlli() { clMyDataGridCollection _cl = new clMyDataGridCollection(); if (Session["CheckedList"] != null) { _cl.GetControl(MyDataGrid1, (Hashtable)Session["CheckedList"], MyDataGrid1.CurrentPageIndex); } }
private void SetControlli() { clMyDataGridCollection _cl = new clMyDataGridCollection(); Hashtable _HS = new Hashtable(); if (Session["CheckedList"] != null) { _HS = (Hashtable)Session["CheckedList"]; } _HS = _cl.SetControl(MyDataGrid1, _HS, MyDataGrid1.CurrentPageIndex); Session.Remove("CheckedList"); Session.Add("CheckedList", _HS); }