You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
964 B

  1. using Swift.DAL.BL.System.Notification;
  2. using Swift.web.Library;
  3. using System;
  4. namespace Swift.web.ApplicationLog
  5. {
  6. public partial class ViewDetail : System.Web.UI.Page
  7. {
  8. private string id = null;
  9. private readonly RemittanceLibrary _sl = new RemittanceLibrary();
  10. private readonly ApplicationLogsDao _obj = new ApplicationLogsDao();
  11. protected void Page_Load(object sender, EventArgs e)
  12. {
  13. _sl.CheckSession();
  14. loadData();
  15. }
  16. protected string getId()
  17. {
  18. return GetStatic.ReadQueryString("id", "");
  19. }
  20. private void loadData()
  21. {
  22. var dr = _obj.getData(getId().ToString());
  23. if (dr == null)
  24. {
  25. return;
  26. }
  27. var msg = dr["UserData"].ToString().Trim();
  28. msg = msg.Replace("-:::-", "</br>");
  29. logMsg.InnerHtml = msg.ToString();
  30. }
  31. }
  32. }