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"); } } }
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"); } } }