Beispiel #1
0
 private void Login(string name)
 {
     Tz888.BLL.Register.common            bll   = new Tz888.BLL.Register.common();
     Tz888.Model.Register.MemberInfoModel model = new Tz888.Model.Register.MemberInfoModel();
     model = bll.SelorgContact(name);
     this.lblEmial.Text   = model.Email.ToString();
     this.lblMobile.Text  = model.Mobile.ToString();
     this.lblPhone.Text   = model.Tel.ToString();
     this.lblAddress.Text = model.Address.ToString();
 }
Beispiel #2
0
    private void Login(string name)
    {
        Tz888.BLL.Register.common bll = new Tz888.BLL.Register.common();
           // Tz888.Model.Register.OrgContactModel model = new Tz888.Model.Register.OrgContactModel();
        Tz888.Model.Register.MemberInfoModel model = new Tz888.Model.Register.MemberInfoModel();
          //  model = bll.getContactModel(name);
        model = bll.SelorgContact(name);
        if (model != null)
        {
            // this.lblCompanyName.Text = model.OrganizationName.Trim();
            if (model.Email.ToString() != null || model.Email.ToString() != "")
            {
                this.lblEmial.Text = model.Email.ToString();
            }
            else
            {
                this.lblEmial.Text = "";
            }

            if (model.Mobile.ToString() != null || model.Mobile.ToString() != "")
            {
                this.lblMobile.Text = model.Mobile.ToString();
            }
            else
            {
                this.lblMobile.Text = "";
            }

            if (model.Tel.ToString() != null || model.Tel.ToString() != "")
            {
                this.lblPhone.Text = model.Tel.ToString();
            }
            else
            {
                this.lblPhone.Text = "";
            }

            if (model.Address.ToString() != null || model.Address.ToString() != "")
            {
                this.lblAddress.Text = model.Address.ToString();
            }
            else
            {
                this.lblAddress.Text = "";
            }
            //this.lblLinkMan.Text = model.Name.ToString();
            //this.lblMobile.Text = model.Mobile.ToString();
            //this.lblPhone.Text = model.Tel.ToString();// model.TelStateCode.ToString()+"-"+model.TelNum.ToString();
            //this.lblAddress.Text = model.Address.ToString();
        }
        else
        {
            Response.Write("<script>alert('不存在此详细信息')!;window.location.href='AdvisitInfoList.aspx'</script>");
        }
    }
 private void Login(string name)
 {
     Tz888.BLL.Register.common bll = new Tz888.BLL.Register.common();
     //Tz888.Model.Register.OrgContactModel model = new Tz888.Model.Register.OrgContactModel();
     Tz888.Model.Register.MemberInfoModel model = new Tz888.Model.Register.MemberInfoModel();
     model = bll.SelorgContact(name);
     // model = bll.getContactModel(name);
     // this.lblCompanyName.Text = model.OrganizationName.Trim();
     this.lblEmial.Text = model.Email.ToString();
     //  this.lblLinkMan.Text = model.Name.ToString();
     this.lblMobile.Text  = model.Mobile.ToString();
     this.lblPhone.Text   = model.Tel.ToString();// model.TelStateCode.ToString() + "-" + model.TelNum.ToString();
     this.lblAddress.Text = model.Address.ToString();
     SpanCard.InnerHtml   = "<a href='http://card.topfo.com/" + name + "/' class='lan1' target='_blank'>http://card.topfo.com/" + name + "/</a>";
 }