Exemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         ZWL.Common.PublicMethod.CheckSession();
         ZWL.BLL.ERPReportType Model = new ZWL.BLL.ERPReportType();
         Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
         this.txtTypeName.Text = Model.TypeName.ToString();
         this.txtBackInfo.Text = Model.BackInfo.ToString();
         this.txtPaiXuStr.Text = Model.PaiXuStr.ToString();
     }
 }
Exemplo n.º 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         ZWL.Common.PublicMethod.CheckSession();
         ZWL.BLL.ERPReportType Model = new ZWL.BLL.ERPReportType();
         Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
         this.txtTypeName.Text=Model.TypeName.ToString();
         this.txtBackInfo.Text=Model.BackInfo.ToString();
         this.txtPaiXuStr.Text=Model.PaiXuStr.ToString();
     }
 }
Exemplo n.º 3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZWL.Common.PublicMethod.CheckSession();
            ZWL.BLL.ERPReportType Model = new ZWL.BLL.ERPReportType();
            Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.lblTypeName.Text = Model.TypeName.ToString();
            this.lblBackInfo.Text = Model.BackInfo.ToString();
            this.lblPaiXuStr.Text = Model.PaiXuStr.ToString();

            //写系统日志
            ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
            MyRiZhi.UserName    = ZWL.Common.PublicMethod.GetSessionValue("UserName");
            MyRiZhi.DoSomething = "用户查看报表分类信息(" + this.lblTypeName.Text + ")";
            MyRiZhi.IpStr       = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
            MyRiZhi.Add();
        }
    }
Exemplo n.º 4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZWL.Common.PublicMethod.CheckSession();
            ZWL.BLL.ERPReportType Model = new ZWL.BLL.ERPReportType();
            Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.lblTypeName.Text=Model.TypeName.ToString();
            this.lblBackInfo.Text=Model.BackInfo.ToString();
            this.lblPaiXuStr.Text=Model.PaiXuStr.ToString();

            //дϵͳ��־
            ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
            MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
            MyRiZhi.DoSomething = "�û��鿴���������Ϣ(" + this.lblTypeName.Text + ")";
            MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
            MyRiZhi.Add();

        }
    }