当前位置: 首页>>代码示例>>C#>>正文


C# ERPRiZhi.Add方法代码示例

本文整理汇总了C#中ZWL.BLL.ERPRiZhi.Add方法的典型用法代码示例。如果您正苦于以下问题:C# ERPRiZhi.Add方法的具体用法?C# ERPRiZhi.Add怎么用?C# ERPRiZhi.Add使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ZWL.BLL.ERPRiZhi的用法示例。


在下文中一共展示了ERPRiZhi.Add方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ImageButton1_Click

    protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
    {
        ZWL.BLL.ERPDangAn Model = new ZWL.BLL.ERPDangAn();

        Model.FileName=this.txtFileName.Text.ToString();
        Model.JuanKuName=this.txtJuanKuName.Text.ToString();
        Model.FileSerils=this.txtFileSerils.Text.ToString();
        Model.FileTitle=this.txtFileTitle.Text.ToString();
        Model.FaWenDanWei=this.txtFaWenDanWei.Text.ToString();
        Model.FaWenDate=this.txtFaWenDate.Text.ToString();
        Model.MiJi=this.txtMiJi.Text.ToString();
        Model.JingJi=this.txtJingJi.Text.ToString();
        Model.TypeStr=this.txtTypeStr.Text.ToString();
        Model.GongWenType=this.txtGongWenType.Text.ToString();
        Model.FilePage=this.txtFilePage.Text.ToString();
        Model.FuJianList=ZWL.Common.PublicMethod.GetSessionValue("WenJianList");
        Model.BackInfo=this.txtBackInfo.Text.ToString();
        Model.UserName=ZWL.Common.PublicMethod.GetSessionValue("UserName");
        Model.TimeStr=DateTime.Now;

        Model.Add();

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

        ZWL.Common.MessageBox.ShowAndRedirect(this, "�����ļ���Ϣ��ӳɹ���", "DangAn.aspx?JuanKuName=" + Request.QueryString["JuanKuName"].ToString());
    }
开发者ID:cnbin,项目名称:HLB,代码行数:31,代码来源:DangAnAdd.aspx.cs

示例2: ImageButton1_Click

    protected void ImageButton1_Click(object sender, EventArgs e)
    {
        ZWL.BLL.ERPLanEmail MyModel = new ZWL.BLL.ERPLanEmail();

        ZWL.BLL.ERPLanEmailShou MyModelShou = new ZWL.BLL.ERPLanEmailShou();

        MyModel .EmailTitle = this.TextBox1.Text;
        MyModel.EmailContent = this.TxtContent.Value;
        MyModel.FuJian = ZWL.Common.PublicMethod.GetSessionValue("WenJianList");
        MyModel.FromUser = ZWL.Common.PublicMethod.GetSessionValue("UserName");
        MyModel.EmailState = "未读";
        MyModel.TimeStr = DateTime.Now;
        MyModelShou.TimeStr = MyModel.TimeStr;

          string[] ToWhoList = this.TextBox2.Text.Trim().Split(',');
        for (int i = 0; i < ToWhoList.Length; i++)
        {
            if (ToWhoList[i].Trim().Length > 0)
            {
                MyModel.ToUser = ToWhoList[i].Trim();
                MyModel.Add();
            }
        }

        //写系统日志
        ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
        MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
        MyRiZhi.DoSomething = "用户添加新邮件(" + this.TextBox1.Text + ")";
        MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
        MyRiZhi.Add();

        ZWL.Common.MessageBox.ShowAndRedirect(this, "内部邮件发送成功!", "LanEmailShou.aspx");
    }
开发者ID:cnbin,项目名称:HLB,代码行数:33,代码来源:LanEmailAdd.aspx.cs

示例3: btn_Sub_In_Click

    protected void btn_Sub_In_Click(object sender, EventArgs e)
    {
        ZWL.BLL.ERPMobile MyModel = new ZWL.BLL.ERPMobile();

        MyModel.ToUserList = this.TextBox1.Text.Trim();
        MyModel.ContentStr = this.TextBox2.Text.Trim();
        MyModel.FaSongUser = ZWL.Common.PublicMethod.GetSessionValue("UserName");
        //Mobile.SendSMS(MyModel.FaSongUser, MyModel.ToUserList, MyModel.ContentStr);
        string WrongUser = Mobile.UserToTel(MyModel.ToUserList, MyModel.ContentStr);    //发送人名,发送内容
        MyModel.ToUserList = "内部人员:" + this.TextBox1.Text;
        MyModel.Add();

        if(WrongUser.Trim() == "0") {
        }
        else if(WrongUser.Trim() == "1") {
            Response.Write("<script>alert('手机短信发送成功!');window.location.href='MobileSms.aspx'</script>");
            //ZWL.Common.MessageBox.ShowAndRedirect(this, "手机短信发送成功!", "MobileSms.aspx");
        }
        else {
            Response.Write("<script>alert('手机短信发送成功,其中" + WrongUser.Trim() + "手机号码有误!');window.location.href='MobileSms.aspx'</script>");
            //ZWL.Common.MessageBox.ShowAndRedirect(this, "手机短信发送成功,其中" + WrongUser.Trim() + "手机号码有误!", "MobileSms.aspx");
        }

        //写系统日志
        ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
        MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
        MyRiZhi.DoSomething = "用户添加新内部手机短信(" + this.TextBox2.Text + ")";
        MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
        MyRiZhi.Add();

        Response.Write("<script>alert('手机短信发送成功!');window.location.href='MobileSms.aspx'</script>");

        //ZWL.Common.MessageBox.ShowAndRedirect(this, "手机短信发送成功!", "MobileSms.aspx");
    }
开发者ID:cnbin,项目名称:HLB,代码行数:34,代码来源:MobileSmsAdd.aspx.cs

示例4: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZWL.Common.PublicMethod.CheckSession();
            ZWL.BLL.ERPRenShiHeTong Model = new ZWL.BLL.ERPRenShiHeTong();
            Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.lblHeTongUser.Text=Model.HeTongUser.ToString();
            this.lblNowState.Text=Model.NowState.ToString();
            this.lblSerils.Text=Model.Serils.ToString();
            this.lblTypeStr.Text=Model.TypeStr.ToString();
            this.lblJingYe.Text=Model.JingYe.ToString();
            this.lblBaoMiXieYi.Text=Model.BaoMiXieYi.ToString();
            this.lblQianYueDate.Text=Model.QianYueDate.ToString();
            this.lblManYueDate.Text=Model.ManYueDate.ToString();
            this.lblJianZhengJiGuan.Text=Model.JianZhengJiGuan.ToString();
            this.lblJianZhengDate.Text=Model.JianZhengDate.ToString();
            this.lblWeiYueZeRen.Text=Model.WeiYueZeRen.ToString();
            this.lblBackInfo.Text=Model.BackInfo.ToString();
            this.lblFuJianList.Text=ZWL.Common.PublicMethod.GetWenJian(Model.FuJianList.ToString(),"../UploadFile/");
            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.lblHeTongUser.Text + ")";
            MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
            MyRiZhi.Add();

        }
    }
开发者ID:cnbin,项目名称:HLB,代码行数:32,代码来源:RenShiHeTongView.aspx.cs

示例5: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZWL.Common.PublicMethod.CheckSession();
            ZWL.BLL.ERPTaskFP Model = new ZWL.BLL.ERPTaskFP();
            Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.lblTaskTitle.Text=Model.TaskTitle.ToString();
            this.lblTaskContent.Text=Model.TaskContent.ToString();
            this.lblFromUser.Text=Model.FromUser.ToString();
            this.lblToUserList.Text=Model.ToUserList.ToString();
            this.lblXinXiGouTong.Text=Model.XinXiGouTong.ToString();
            this.lblJinDu.Text=Model.JinDu.ToString()+"%";
            this.lblWanCheng.Text=Model.WanCheng.ToString();
            this.lblNowState.Text=Model.NowState.ToString();
            this.Label1.Text = Model.KSSJ.ToString();
            this.Label2.Text = Model.JSSJ.ToString();
            this.Label3.Text = Model.SFFK.ToString();
            this.Label4.Text = Model.FKSJ.ToString();
            //дϵͳ��־
            ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
            MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
            MyRiZhi.DoSomething = "�û��鿴���������Ϣ(" + this.lblTaskTitle.Text + ")";
            MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
            MyRiZhi.Add();

        }
    }
开发者ID:cnbin,项目名称:HLB,代码行数:28,代码来源:TaskFPView.aspx.cs

示例6: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZWL.Common.PublicMethod.CheckSession();
            ZWL.BLL.ERPJiangCheng Model = new ZWL.BLL.ERPJiangCheng();
            Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.lblJCUser.Text=Model.JCUser.ToString();
            this.lblJiangChengQuFen.Text=Model.JiangChengQuFen.ToString();
            this.lblJiangChengType.Text=Model.JiangChengType.ToString();
            this.lblShouYuDanWei.Text=Model.ShouYuDanWei.ToString();
            this.lblJiangChengDate.Text=Model.JiangChengDate.ToString();
            this.lblJiangChengMingMu.Text=Model.JiangChengMingMu.ToString();
            this.lblJiangChengYuanYin.Text=Model.JiangChengYuanYin.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.lblJCUser.Text + ")";
            MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
            MyRiZhi.Add();

        }
    }
开发者ID:cnbin,项目名称:HLB,代码行数:27,代码来源:JiangChengView.aspx.cs

示例7: btn_Sub_Click

    protected void btn_Sub_Click(object sender, EventArgs e)
    {
        if(ZWL.Common.PublicMethod.IFExists("BuMenName", "ERPBuMen", 0, this.TextBox1.Text) == true) {
            ZWL.BLL.ERPBuMen MyBuMen = new ZWL.BLL.ERPBuMen();
            MyBuMen.BuMenName = this.TextBox1.Text;
            MyBuMen.ChargeMan = this.UserName_Input.Value;
            MyBuMen.TelStr = this.TextBox3.Text;
            MyBuMen.ChuanZhen = this.TextBox4.Text;
            MyBuMen.BackInfo = this.TextBox5.Text;
            MyBuMen.DirID = int.Parse(Request.QueryString["DirID"].ToString());
            MyBuMen.Add();

            //写系统日志
            ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
            MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
            MyRiZhi.DoSomething = "用户添加部门信息(" + this.TextBox1.Text + ")";
            MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
            MyRiZhi.Add();
            Response.Write("<script>alert('部门信息添加成功!');window.location.href='BuMenInfo.aspx?View=" + Request.QueryString["View"].ToString() + "&Type=" + Request.QueryString["Type"].ToString() + "&DirID=" + Request.QueryString["DirID"].ToString() + "'</script>");
            //ZWL.Common.MessageBox.ShowAndRedirect(this, "部门信息添加成功!", "BuMenInfo.aspx?View=" + Request.QueryString["View"].ToString() + "&Type=" + Request.QueryString["Type"].ToString() + "&DirID=" + Request.QueryString["DirID"].ToString());
        }
        else {
            Response.Write("<script>alert('该部门已经存在,请更换名称!!');</script>");
            //ZWL.Common.MessageBox.Show(this, "该部门已经存在,请更换名称!");
        }
    }
开发者ID:cnbin,项目名称:HLB,代码行数:26,代码来源:BuMenInfoAdd.aspx.cs

示例8: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZWL.Common.PublicMethod.CheckSession();
            ZWL.BLL.ERPMianShi Model = new ZWL.BLL.ERPMianShi();
            Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.lblMSName.Text=Model.MSName.ToString();
            this.lblMSDate.Text=Model.MSDate.ToString();
            this.lblMSSex.Text=Model.MSSex.ToString();
            this.lblMSAge.Text=Model.MSAge.ToString();
            this.lblXueLi.Text=Model.XueLi.ToString();
            this.lblZhuanYe.Text=Model.ZhuanYe.ToString();
            this.lblMSZhiWei.Text=Model.MSZhiWei.ToString();
            this.lblMSJieGuo.Text=Model.MSJieGuo.ToString();
            this.lblBackInfo.Text=Model.BackInfo.ToString();
            this.lblFuJianStr.Text=ZWL.Common.PublicMethod.GetWenJian(Model.FuJianStr.ToString(),"../UpLoadFile/");
            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.lblMSName.Text + ")";
            MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
            MyRiZhi.Add();

        }
    }
开发者ID:cnbin,项目名称:HLB,代码行数:29,代码来源:MianShiView.aspx.cs

示例9: ImageButton1_Click

    protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
    {
        ZWL.BLL.ERPMianShi Model = new ZWL.BLL.ERPMianShi();

        Model.MSName=this.txtMSName.Text.ToString();
        Model.MSDate=this.txtMSDate.Text.ToString();
        Model.MSSex=this.txtMSSex.Text.ToString();
        Model.MSAge=this.txtMSAge.Text.ToString();
        Model.XueLi=this.txtXueLi.Text.ToString();
        Model.ZhuanYe=this.txtZhuanYe.Text.ToString();
        Model.MSZhiWei=this.txtMSZhiWei.Text.ToString();
        Model.MSJieGuo=this.txtMSJieGuo.Text.ToString();
        Model.BackInfo=this.txtBackInfo.Text.ToString();
        Model.FuJianStr=ZWL.Common.PublicMethod.GetSessionValue("WenJianList");
        Model.UserName=ZWL.Common.PublicMethod.GetSessionValue("UserName");
        Model.TimeStr=DateTime.Now;

        Model.Add();

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

        ZWL.Common.MessageBox.ShowAndRedirect(this, "����������Ϣ��ӳɹ���", "MianShi.aspx");
    }
开发者ID:cnbin,项目名称:HLB,代码行数:28,代码来源:MianShiAdd.aspx.cs

示例10: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZWL.Common.PublicMethod.CheckSession();
            ZWL.BLL.ERPTreeList Model = new ZWL.BLL.ERPTreeList();
            Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.lblTextStr.Text=Model.TextStr.ToString();
            this.lblImageUrlStr.Text=Model.ImageUrlStr.ToString();
            this.lblValueStr.Text=Model.ValueStr.ToString();
            this.lblNavigateUrlStr.Text=Model.NavigateUrlStr.ToString();
            this.lblTarget.Text=Model.Target.ToString();
            this.lblParentID.Text=Model.ParentID.ToString();
            this.lblQuanXianList.Text=Model.QuanXianList.ToString();
            this.lblPaiXuStr.Text=Model.PaiXuStr.ToString();
            this.lblClass.Text = Model.ParentClass;

            //дϵͳ��־
            ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
            MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
            MyRiZhi.DoSomething = "�û��鿴�˵�������Ϣ(" + this.lblTextStr.Text + ")";
            MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
            MyRiZhi.Add();
            ReturnInput.Value = Request.UrlReferrer.ToString() == null ? "../SystemManage/TreeList.aspx" : Request.UrlReferrer.ToString();
        }
    }
开发者ID:cnbin,项目名称:HLB,代码行数:26,代码来源:TreeListView.aspx.cs

示例11: btn_Sub_Click

    protected void btn_Sub_Click(object sender, EventArgs e)
    {
        ZWL.BLL.ERPHuiBao Model = new ZWL.BLL.ERPHuiBao();

        Model.TitleStr = this.TextBox1.Text;
        Model.ContentStr = this.TxtContent.Text;
        Model.CanLookUser = this.UserName_Input.Value;
        Model.DDWL = this.TextBox3.Text;
        Model.TimeStr = DateTime.Now;
        Model.DDWL = this.ddl_WarningType.SelectedValue;
        Model.FuJianStr = ZWL.Common.PublicMethod.GetSessionValue("WenJianList");
        Model.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
        Model.SSBM = ZWL.Common.PublicMethod.GetSessionValue("Department");
        if(string.IsNullOrEmpty(this.TextBox2.Text)) {
            Model.ZT = "信息保存";
        }
        else {
            Model.ZT = "信息转发";
        }
        Model.Add();

        //写系统日志
        ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
        MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
        MyRiZhi.DoSomething = "用户添加工作报告信息(" + this.TextBox1.Text + ")";
        MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
        MyRiZhi.Add();
        Response.Write("<script>alert('工作报告添加成功!');window.location.href='"+ReturnInput.Value+"'</script>");
    }
开发者ID:cnbin,项目名称:HLB,代码行数:29,代码来源:HuiBaoAdd.aspx.cs

示例12: ImageButton1_Click

    protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
    {
        if (this.TextBox4.Text.Contains("_"))
        {
            ZWL.BLL.ERPPOPAndSMTP MyModel = new ZWL.BLL.ERPPOPAndSMTP();
            MyModel.ID = int.Parse(ZWL.Common.PublicMethod.GetSessionValue("UserID"));
            MyModel.POP3UserName = this.TextBox1.Text;
            MyModel.POP3UserPwd = this.TextBox2.Text;
            MyModel.POP3Server = this.TextBox3.Text;
            MyModel.POP3Port = this.TextBox4.Text;
            MyModel.SMTPUserName = this.TextBox5.Text;
            MyModel.SMTPUserPwd = this.TextBox6.Text;
            MyModel.SMTPServer = this.TextBox7.Text;
            MyModel.SMTPFromEmail = this.TextBox8.Text;
            MyModel.Update();
            ZWL.Common.MessageBox.Show(this, "修改邮件参数成功!");

            //写系统日志
            ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
            MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
            MyRiZhi.DoSomething = "用户设置邮件参数";
            MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
            MyRiZhi.Add();
        }
        else
        {
            ZWL.Common.MessageBox.Show(this, "请用_将SMTP端口与POP3端口隔开!");
        }
    }
开发者ID:cnbin,项目名称:HLB,代码行数:29,代码来源:MailSetting.aspx.cs

示例13: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZWL.Common.PublicMethod.CheckSession();
            ZWL.BLL.ERPBook Model = new ZWL.BLL.ERPBook();
            Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.lblBookName.Text=Model.BookName.ToString();
            this.lblBookSerils.Text=Model.BookSerils.ToString();
            this.lblSuoShuBuMen.Text=Model.SuoShuBuMen.ToString();
            this.lblBookType.Text=Model.BookType.ToString();
            this.lblAuother.Text=Model.Auother.ToString();
            this.lblISBN.Text=Model.ISBN.ToString();
            this.lblCoperStr.Text=Model.CoperStr.ToString();
            this.lblChuBanDate.Text=Model.ChuBanDate.ToString();
            this.lblCunFangDian.Text=Model.CunFangDian.ToString();
            this.lblShuLiang.Text=Model.ShuLiang.ToString();
            this.lblJiaGe.Text=Model.JiaGe.ToString();
            this.lblNeiRong.Text=Model.NeiRong.ToString();
            this.lblNowState.Text=Model.NowState.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();

        }
    }
开发者ID:cnbin,项目名称:HLB,代码行数:33,代码来源:BookView.aspx.cs

示例14: ImageButton1_Click

    protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
    {
        ZWL.BLL.ERPTaskFP Model = new ZWL.BLL.ERPTaskFP();

        Model.ID = int.Parse(Request.QueryString["ID"].ToString());
        Model.TaskTitle=this.txtTaskTitle.Text.ToString();
        Model.TaskContent=this.txtTaskContent.Text.ToString();
        Model.FromUser=this.txtFromUser.Text.ToString();
        Model.ToUserList=this.txtToUserList.Text.ToString();
        Model.XinXiGouTong=this.txtXinXiGouTong.Text.ToString();
        Model.JinDu=decimal.Parse(this.txtJinDu.Text);
        Model.WanCheng=this.txtWanCheng.Text.ToString();
        Model.NowState = this.DropDownList1.SelectedValue.ToString();
        Model.KSSJ = DateTime.Parse(this.TextBox3.Text.Trim() + " " + this.DropDownList2.SelectedItem.Text + ":" + this.DropDownList3.SelectedItem.Text + ":00");
        Model.JSSJ = DateTime.Parse(this.TextBox2.Text.Trim() + " " + this.DropDownList4.SelectedItem.Text + ":" + this.DropDownList5.SelectedItem.Text + ":00");
        Model.FKSJ = DateTime.Parse(this.TextBox4.Text.Trim() + " " + this.DropDownList6.SelectedItem.Text + ":" + this.DropDownList7.SelectedItem.Text + ":00");
        Model.SFFK = this.TX.Value;
        Model.Update();

        //���Ͷ���
        SendMainAndSms.SendMessage(CHKSMS, CHKMOB, "�����µ�������Ҫִ�У�(" + this.txtTaskTitle.Text + ")", this.txtToUserList.Text.Trim());

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

        ZWL.Common.MessageBox.ShowAndRedirect(this, "���������Ϣ�޸ijɹ���", "TaskFP.aspx");
    }
开发者ID:cnbin,项目名称:HLB,代码行数:31,代码来源:TaskFPModify.aspx.cs

示例15: btn_Draft_Click

    protected void btn_Draft_Click(object sender, EventArgs e)
    {
        //草稿
        ZWL.BLL.ERPLanEmail MyModel = new ZWL.BLL.ERPLanEmail();

        MyModel.EmailTitle = this.TextBox1.Text;
        MyModel.EmailContent = this.TxtContent.Text;
        MyModel.FuJian = ZWL.Common.PublicMethod.GetSessionValue("WenJianList");
        MyModel.FromUser = ZWL.Common.PublicMethod.GetSessionValue("UserName");
        MyModel.EmailState = "草稿";
        string[] ToWhoList = this.UserName_Input.Value.Trim().Split(',');
        for(int i = 0; i < ToWhoList.Length; i++) {
            if(ToWhoList[i].Trim().Length > 0) {
                MyModel.ToUser = ToWhoList[i].Trim();
                MyModel.Add();
            }
        }

        //写系统日志
        ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
        MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
        MyRiZhi.DoSomething = "用户添加新记录(" + this.TextBox1.Text + ")";
        MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
        MyRiZhi.Add();
        Response.Write("<script>alert('新增记录成功!');window.location.href='" + ReturnInput.Value + "'</script>");
    }
开发者ID:cnbin,项目名称:HLB,代码行数:26,代码来源:LanEmailAdd.aspx.cs


注:本文中的ZWL.BLL.ERPRiZhi.Add方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。