protected void Button1_Click(object sender, EventArgs e) { enable = WS.RequestInt("enable", -1); group = WS.RequestInt("group", -1); url = string.Format("UserList.aspx?ebable={0}&group={1}", enable.ToString(), group.ToString()); //删除 string ids = WS.RequestString("id"); if (ids.IsNullOrEmpty()) { Js.AlertAndGoback("您没有选择任何项"); return; } UserView.Del(string.Format("id in {0}", ids)); Js.AlertAndChangUrl("删除成功!", url); }