Example #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Request.QueryString["para"] != null)
            {
                para       = Request.QueryString["para"].ToString();
                pageNumber = int.Parse(Request.QueryString["pageNumber"]);
            }
            if (Request.QueryString["delete"] != null)
            {
                string tId = Request.QueryString["tId"];
                string res = topicBll.DeletePracTopic(tId);
                if (res == "success")
                {
                    SuAlert("删除成功");
                }
                else
                {
                    errAlert(res);
                }
            }

            BindTopic();
        }
    }