public int Page_Del(string ids) { if (!string.IsNullOrEmpty(ids)) { regBll.DelByIDS(ids); } return(Success); }
protected void Button4_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(Request.Form["idchk"])) { if (b_PageReg.DelByIDS(Request.Form["idchk"])) { Response.Write("<script>alert('操作成功!');location.href='PageManage.aspx';</script>"); } else { Response.Write("<script>alert('操作失败!');location.href='PageManage.aspx';</script>"); } } }