コード例 #1
0
 public int Page_Del(string ids)
 {
     if (!string.IsNullOrEmpty(ids))
     {
         regBll.DelByIDS(ids);
     }
     return(Success);
 }
コード例 #2
0
 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>");
         }
     }
 }