private void GetControlli()
 {
     Classi.clMyDataGridCollection _cl = new TheSite.Classi.clMyDataGridCollection();
     if (Session["CheckedList"] != null)
     {
         _cl.GetControl(DataGridRicerca, (Hashtable)Session["CheckedList"], DataGridRicerca.CurrentPageIndex);
     }
 }
        private void SetControlli()
        {
            Classi.clMyDataGridCollection _cl = new TheSite.Classi.clMyDataGridCollection();

            Hashtable _HS = new Hashtable();

            if (Session["CheckedList"] != null)
            {
                _HS = (Hashtable)Session["CheckedList"];
            }
            _HS = _cl.SetControl(DataGridRicerca, _HS, DataGridRicerca.CurrentPageIndex);
            Session.Remove("CheckedList");
            Session.Add("CheckedList", _HS);
        }