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