username@email.com
2025-05-14 99ddfbcecf0fa2881eb3a91028257eef87dab6de
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CY.Infrastructure.Common;
using CY.BLL.Sys;
using CY.Model;
 
namespace CY.WebForm.Pages.sysglobal
{
    public partial class LogView : System.Web.UI.Page
    {
        LogBLL _logBLL = new LogBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                int id = Request["KeyId"].ToString().ToInt32().Value;
                Log model = _logBLL.GetModel(id);
                if (model != null)
                {
                    this.lblDate.Text = model.Date.ToString();
                    this.lblMessage.Text = model.Message.ToString();
                    this.lblException.Text = model.Exception.ToString();
                }
            }
        }
    }
}