protected void btnDel_Click(object sender, EventArgs e)
        {
            Repeater list = (Repeater)PermissionByCommonList1.FindControl("rptList");
            string   id   = UIControlHelper.GetCheckBoxByRepeater(list, "chkId");

            if (id.Length == 0)
            {
                MessageHelper.ShowAndBack(Page, MessageHelper.GetMessage("NOCHECK"));
                return;
            }
            if (id.Split(',').Length > 1)
            {
                MessageHelper.ShowAndBack(Page, MessageHelper.GetMessage("MORECHECK"));
                return;
            }
            try
            {
                ZhuJi.UUMS.Domain.PermissionByCommon domainPermissionByCommon = new ZhuJi.UUMS.Domain.PermissionByCommon();

                domainPermissionByCommon.Id = int.Parse(id);

                ZhuJi.UUMS.IDAL.IPermissionByCommon permissionByCommon = ZhuJi.AOP.Operator.WrapInterface(typeof(ZhuJi.UUMS.NHibernateDAL.PermissionByCommon)) as ZhuJi.UUMS.IDAL.IPermissionByCommon;
                permissionByCommon.Delete(domainPermissionByCommon);

                Response.Redirect(Request.Url.ToString(), true);
            }
            catch (Exception ex)
            {
                ShowMessage(ex);
            }
        }
        /// <summary>
        /// 点击删除按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void btnDel_Click(object sender, EventArgs e)
        {
            try
            {
                ZhuJi.UUMS.Domain.PermissionByCommon domainPermissionByCommon = new ZhuJi.UUMS.Domain.PermissionByCommon();

                domainPermissionByCommon.Id = int.Parse(Id.Text);

                ZhuJi.UUMS.IDAL.IPermissionByCommon permissionByCommon = ZhuJi.AOP.Operator.WrapInterface(typeof(ZhuJi.UUMS.NHibernateDAL.PermissionByCommon)) as ZhuJi.UUMS.IDAL.IPermissionByCommon;
                permissionByCommon.Delete(domainPermissionByCommon);
            }
            catch (Exception ex)
            {
                ShowMessage(ex);
            }
            Response.Redirect(Request.Url.ToString(), true);
        }