protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPTiKuType Model = new ZWL.BLL.ERPTiKuType(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.txtTiKuName.Text=Model.TiKuName.ToString(); this.txtPaiXu.Text=Model.PaiXu.ToString(); } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPTiKuType Model = new ZWL.BLL.ERPTiKuType(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.txtTiKuName.Text = Model.TiKuName.ToString(); this.txtPaiXu.Text = Model.PaiXu.ToString(); } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPTiKuType Model = new ZWL.BLL.ERPTiKuType(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.lblTiKuName.Text = Model.TiKuName.ToString(); this.lblPaiXu.Text = Model.PaiXu.ToString(); //写系统日志 ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi(); MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName"); MyRiZhi.DoSomething = "用户查看题库分类信息(" + this.lblTiKuName.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.ERPTiKuType Model = new ZWL.BLL.ERPTiKuType(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.lblTiKuName.Text=Model.TiKuName.ToString(); this.lblPaiXu.Text=Model.PaiXu.ToString(); //дϵͳ��־ ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi(); MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName"); MyRiZhi.DoSomething = "�û��鿴��������Ϣ(" + this.lblTiKuName.Text + ")"; MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString(); MyRiZhi.Add(); } }