Example #1
0
        private void btn_DelRight_ServerClick(object sender, System.EventArgs e)
        {
            string IDs = GetSelectedItemID("cb_RightID").Trim();

            //得到选中的datagrid的checkbox的value
            if (IDs != "")
            {
                UDS.Components.AssignRights ar = new UDS.Components.AssignRights();

                ar.DeleteRight(IDs);

                ar = null;

                Response.Redirect("RightListView.aspx?ObjID=" + strObjID + "&DisplayType=" + DisplayType);
            }
        }
Example #2
0
        private void btn_DelRight_ServerClick(object sender, System.EventArgs e)
        {
            string IDs=GetSelectedItemID("cb_RightID").Trim();

            //�õ�ѡ�е�datagrid��checkbox��value
            if(IDs!="")
            {

                UDS.Components.AssignRights ar = new UDS.Components.AssignRights();

                ar.DeleteRight(IDs);

                ar =	null;

                Response.Redirect("RightListView.aspx?ObjID="+strObjID+"&DisplayType="+DisplayType);
            }
        }