示例#1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         Maticsoft.BLL.sys_SystemInfo bll=new Maticsoft.BLL.sys_SystemInfo();
         if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
         {
             int SystemID=(Convert.ToInt32(Request.Params["id"]));
             bll.Delete(SystemID);
             Response.Redirect("list.aspx");
         }
     }
 }
示例#2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         Maticsoft.BLL.sys_SystemInfo bll = new Maticsoft.BLL.sys_SystemInfo();
         if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
         {
             int SystemID = (Convert.ToInt32(Request.Params["id"]));
             bll.Delete(SystemID);
             Response.Redirect("list.aspx");
         }
     }
 }