コード例 #1
0
ファイル: ChyardContract.aspx.cs プロジェクト: uwitec/O2O
        /// <summary>
        /// 初始化地址信息
        /// </summary>
        /// <param name="id"></param>
        protected void initADDRESS(string id)
        {
            Eyousoft_yhq.BLL.Member bll = new Eyousoft_yhq.BLL.Member();

            var model = bll.GetAddress(id);
            if (model != null)
            {
                contactname.Text = model.ContactName;
                ADDRESS.Text = string.Format("{0} {1} {2} {3}", model.AddressProvinceName, model.AddressCityName, model.AddressCountryName, model.AddressInfo);
                zpcode.Text = model.ZpCode;
                mobileNum.Text = model.MobileNum;
                telNum.Text = model.TelNum;
            }
        }
コード例 #2
0
ファイル: AbroadContract.aspx.cs プロジェクト: ichoukou/yhq
        /// <summary>
        /// 初始化地址信息
        /// </summary>
        /// <param name="id"></param>
        protected void initADDRESS(string id)
        {
            Eyousoft_yhq.BLL.Member bll = new Eyousoft_yhq.BLL.Member();

            var model = bll.GetAddress(id);

            if (model != null)
            {
                contactname.Text = model.ContactName;
                ADDRESS.Text     = string.Format("{0} {1} {2} {3}", model.AddressProvinceName, model.AddressCityName, model.AddressCountryName, model.AddressInfo);
                zpcode.Text      = model.ZpCode;
                mobileNum.Text   = model.MobileNum;
                telNum.Text      = model.TelNum;
            }
        }
コード例 #3
0
ファイル: AddressManage.aspx.cs プロジェクト: uwitec/O2O
        /// <summary>
        /// 初始化编辑地址信息
        /// </summary>
        /// <param name="id"></param>
        protected void initPage(string id)
        {
            Eyousoft_yhq.BLL.Member bll = new Eyousoft_yhq.BLL.Member();

            var model = bll.GetAddress(id);
            if (model != null)
            {
                contactname.Value = model.ContactName;
                xSelect = model.AddressCountry;
                xCityId = model.AddressCity;
                xProvinceId = model.AddressProvince;
                addressinfo.Value = model.AddressInfo;
                zpcode.Value = model.ZpCode;
                mobileNum.Value = model.MobileNum;
                telNum.Value = model.TelNum;
                isdefault.Checked = model.IsDefault;
                mark = model.IsDefault ? 1 : 0;
            }
        }
コード例 #4
0
        /// <summary>
        /// 初始化编辑地址信息
        /// </summary>
        /// <param name="id"></param>
        protected void initPage(string id)
        {
            Eyousoft_yhq.BLL.Member bll = new Eyousoft_yhq.BLL.Member();

            var model = bll.GetAddress(id);

            if (model != null)
            {
                contactname.Value = model.ContactName;
                xSelect           = model.AddressCountry;
                xCityId           = model.AddressCity;
                xProvinceId       = model.AddressProvince;
                addressinfo.Value = model.AddressInfo;
                zpcode.Value      = model.ZpCode;
                mobileNum.Value   = model.MobileNum;
                telNum.Value      = model.TelNum;
                isdefault.Checked = model.IsDefault;
                mark = model.IsDefault ? 1 : 0;
            }
        }