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();
|
}
|
}
|
}
|
}
|
}
|