예제 #1
0
        private void GetControlli()
        {
            clMyDataGridCollection _cl = new clMyDataGridCollection();

            if (Session["CheckedList"] != null)
            {
                _cl.GetControl(MyDataGrid1, (Hashtable)Session["CheckedList"], MyDataGrid1.CurrentPageIndex);
            }
        }
예제 #2
0
        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);
        }