Example #1
0
        protected void Button2_Click(object sender, EventArgs e)
        {
            UserRegisterBusiness userReg = new UserRegisterBusiness();
            int articleId = Convert.ToInt32(Request.QueryString["id"]);
            int i         = userReg.DeleteArticle(articleId);

            if (i != 0)
            {
                Response.Redirect("Article.aspx");
            }
        }