Exemplo n.º 1
0
        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";

            string commentid = context.Request.QueryString["commentId"];

            rr2.BLL.commentInfo bllcomment = new rr2.BLL.commentInfo();
            bllcomment.Delete(int.Parse(commentid));
            context.Response.Redirect("comment.aspx?ts=delsucess");
        }