protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["GroupID"] != null) { GroupID = Request.QueryString["GroupID"].ToString(); GroupName = Request.QueryString["GroupName"].ToString(); this.Label1.Text = "用户组" + GroupName + "成员设置"; this.dgUser.DataSource = userDal.GetAll(); this.dgUser.DataBind(); this.Title = "用户组" + GroupName + "成员设置"; } }