NotificationDetail.aspx.cs
上传用户:li2971742
上传日期:2021-11-18
资源大小:39096k
文件大小: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. namespace OThinker.H3.Portal
  12. {
  13.     public partial class NotificationDetail : OThinker.H3.Portal.PortalPage
  14.     {
  15.         protected string NotificationID
  16.         {
  17.             get
  18.             {
  19.                 // 获得ID
  20.                 return this.Request.QueryString[Param_NotificationID];
  21.             }
  22.         }
  23.         protected void Page_Load(object sender, EventArgs e)
  24.         {
  25.             OThinker.H3.Notification.Notification notification = OThinker.H3.Server.Engine.Notifier.Read(this.NotificationID);
  26.             if (notification == null)
  27.             {
  28.                 return;
  29.             }
  30.             if (notification.Content != null)
  31.             {
  32.                 this.lblDetail.Text = notification.Content.Replace("rn", "<BR>");
  33.             }
  34.         }
  35.     }
  36. }