protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPJSDIC Model = new ZWL.BLL.ERPJSDIC(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.txtDicName.Text = Model.DicName.ToString(); this.txtBackinfo.Text = Model.Backinfo.ToString(); this.txtUserName.Text = Model.UserName.ToString(); this.txtTimeStr.Text = Model.TimeStr.ToString(); } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPJSDIC Model = new ZWL.BLL.ERPJSDIC(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.lblDicName.Text = Model.DicName.ToString(); this.lblBackinfo.Text = Model.Backinfo.ToString(); this.lblUserName.Text = Model.UserName.ToString(); this.lblTimeStr.Text = Model.TimeStr.ToString(); //写系统日志 ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi(); MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName"); MyRiZhi.DoSomething = "用户查看签收文件夹信息(" + this.lblDicName.Text + ")"; MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString(); MyRiZhi.Add(); } }