protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPBookJieHuan Model = new ZWL.BLL.ERPBookJieHuan(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.txtBookName.Text=Model.BookName.ToString(); this.txtJieShuDate.Text=Model.JieShuDate.ToString(); this.txtGuiHuanDate.Text=Model.GuiHuanDate.ToString(); this.txtJieHuanState.Text=Model.JieHuanState.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.ERPBookJieHuan Model = new ZWL.BLL.ERPBookJieHuan(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.txtBookName.Text = Model.BookName.ToString(); this.txtJieShuDate.Text = Model.JieShuDate.ToString(); this.txtGuiHuanDate.Text = Model.GuiHuanDate.ToString(); this.txtJieHuanState.Text = Model.JieHuanState.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.ERPBookJieHuan Model = new ZWL.BLL.ERPBookJieHuan(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.lblBookName.Text = Model.BookName.ToString(); this.lblJieShuDate.Text = Model.JieShuDate.ToString(); this.lblGuiHuanDate.Text = Model.GuiHuanDate.ToString(); this.lblJieHuanState.Text = Model.JieHuanState.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.lblBookName.Text + ")"; MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString(); MyRiZhi.Add(); } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPBookJieHuan Model = new ZWL.BLL.ERPBookJieHuan(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.lblBookName.Text=Model.BookName.ToString(); this.lblJieShuDate.Text=Model.JieShuDate.ToString(); this.lblGuiHuanDate.Text=Model.GuiHuanDate.ToString(); this.lblJieHuanState.Text=Model.JieHuanState.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.lblBookName.Text + ")"; MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString(); MyRiZhi.Add(); } }