/// <summary> /// 提交权限设置 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void BtnSubmit_Click(object sender, EventArgs e) { //lblMsg.Text = CheckCheckBoxFile(Repeater1, lblMsg, "chkState", "HFAccountGroupId"); String strId = CheckCheckBoxFile(Repeater1, lblMsg, "chkState", "HFAccountGroupId");// 成员Id String Role = DDLRole.SelectedValue; CY.UME.Core.Business.AccountGroup ag = new CY.UME.Core.Business.AccountGroup(); ag.UpdateAccountGroupRoleByStrId(Role, strId); bind(HFId.Value, HFRole.Value, false);// 修改成功重新绑定一下. }