//成批更换用户的直接主管 void Button5_Click(object sender, EventArgs e) { String sname1 = Request.Form["selDoc"]; String leader1 = Request.Form["leader"]; if (String.IsNullOrEmpty(sname1) == false && String.IsNullOrEmpty(leader1) == false) { U_UserNameBU bu1 = new U_UserNameBU(); bu1.ChangeUserLeader(sname1, leader1); this.BindData(); } }