protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPDangAn Model = new ZWL.BLL.ERPDangAn(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.txtFileName.Text = Model.FileName.ToString(); this.txtJuanKuName.Text = Model.JuanKuName.ToString(); this.txtFileSerils.Text = Model.FileSerils.ToString(); this.txtFileTitle.Text = Model.FileTitle.ToString(); this.txtFaWenDanWei.Text = Model.FaWenDanWei.ToString(); this.txtFaWenDate.Text = Model.FaWenDate.ToString(); this.txtMiJi.Text = Model.MiJi.ToString(); this.txtJingJi.Text = Model.JingJi.ToString(); this.txtTypeStr.Text = Model.TypeStr.ToString(); this.txtGongWenType.Text = Model.GongWenType.ToString(); this.txtFilePage.Text = Model.FilePage.ToString(); ZWL.Common.PublicMethod.SetSessionValue("WenJianList", Model.FuJianList); ZWL.Common.PublicMethod.BindDDL(this.CheckBoxList1, ZWL.Common.PublicMethod.GetSessionValue("WenJianList")); 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.ERPDangAn Model = new ZWL.BLL.ERPDangAn(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.lblFileName.Text = Model.FileName.ToString(); this.lblJuanKuName.Text = Model.JuanKuName.ToString(); this.lblFileSerils.Text = Model.FileSerils.ToString(); this.lblFileTitle.Text = Model.FileTitle.ToString(); this.lblFaWenDanWei.Text = Model.FaWenDanWei.ToString(); this.lblFaWenDate.Text = Model.FaWenDate.ToString(); this.lblMiJi.Text = Model.MiJi.ToString(); this.lblJingJi.Text = Model.JingJi.ToString(); this.lblTypeStr.Text = Model.TypeStr.ToString(); this.lblGongWenType.Text = Model.GongWenType.ToString(); this.lblFilePage.Text = Model.FilePage.ToString(); this.lblFuJianList.Text = ZWL.Common.PublicMethod.GetWenJian(Model.FuJianList.ToString(), "../UploadFile/"); 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.lblFileName.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.ERPDangAn Model = new ZWL.BLL.ERPDangAn(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.lblFileName.Text=Model.FileName.ToString(); this.lblJuanKuName.Text=Model.JuanKuName.ToString(); this.lblFileSerils.Text=Model.FileSerils.ToString(); this.lblFileTitle.Text=Model.FileTitle.ToString(); this.lblFaWenDanWei.Text=Model.FaWenDanWei.ToString(); this.lblFaWenDate.Text=Model.FaWenDate.ToString(); this.lblMiJi.Text=Model.MiJi.ToString(); this.lblJingJi.Text=Model.JingJi.ToString(); this.lblTypeStr.Text=Model.TypeStr.ToString(); this.lblGongWenType.Text=Model.GongWenType.ToString(); this.lblFilePage.Text=Model.FilePage.ToString(); this.lblFuJianList.Text=ZWL.Common.PublicMethod.GetWenJian(Model.FuJianList.ToString(),"../UploadFile/"); 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.lblFileName.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.ERPDangAn Model = new ZWL.BLL.ERPDangAn(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.txtFileName.Text=Model.FileName.ToString(); this.txtJuanKuName.Text=Model.JuanKuName.ToString(); this.txtFileSerils.Text=Model.FileSerils.ToString(); this.txtFileTitle.Text=Model.FileTitle.ToString(); this.txtFaWenDanWei.Text=Model.FaWenDanWei.ToString(); this.txtFaWenDate.Text=Model.FaWenDate.ToString(); this.txtMiJi.Text=Model.MiJi.ToString(); this.txtJingJi.Text=Model.JingJi.ToString(); this.txtTypeStr.Text=Model.TypeStr.ToString(); this.txtGongWenType.Text=Model.GongWenType.ToString(); this.txtFilePage.Text=Model.FilePage.ToString(); ZWL.Common.PublicMethod.SetSessionValue("WenJianList", Model.FuJianList); ZWL.Common.PublicMethod.BindDDL(this.CheckBoxList1, ZWL.Common.PublicMethod.GetSessionValue("WenJianList")); this.txtBackInfo.Text=Model.BackInfo.ToString(); this.txtUserName.Text=Model.UserName.ToString(); this.txtTimeStr.Text=Model.TimeStr.ToString(); } }