lt_delmyhuifu.aspx.cs
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:1k
源码类别:

OA系统

开发平台:

C#

  1. using System;
  2. using System.Data;
  3. using System.Configuration;
  4. using System.Collections;
  5. using System.Web;
  6. using System.Web.Security;
  7. using System.Web.UI;
  8. using System.Web.UI.WebControls;
  9. using System.Web.UI.WebControls.WebParts;
  10. using System.Web.UI.HtmlControls;
  11. using COM.OA.BLL;
  12. using COM.OA.Entity;
  13. public partial class linminchao_bbs_lt_delmyhuifu : System.Web.UI.Page
  14. {
  15.     protected void Page_Load(object sender, EventArgs e)
  16.     {
  17.         users loginuser = Session["loginuser"] as users;
  18.         if (loginuser == null)
  19.         {
  20.             this.Response.Write(string.Format(GetRedirect.ALLREDIRECT, "../../login.aspx"));
  21.         }
  22.         else
  23.         {
  24.             int bbs_id = Int32.Parse(this.Request["bbs_id"]);
  25.             int id = Int32.Parse(this.Request["id"]);
  26.             int ii = bbsrevertBLL.Delete(id);
  27.             if (ii < 0)
  28.             {
  29.                 this.Response.Write(string.Format(GetRedirect.WINALERT, "删除回复成功!"));
  30.                 this.Response.Write(string.Format(GetRedirect.REDIRECT, "lt_lookOne.aspx?bbs_id=" + bbs_id + ""));
  31.             }
  32.         }
  33.     }
  34. }