Exemplo n.º 1
0
        protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
        {
            AddressUtility adr = new AddressUtility();

            adr.Delivery_ID = DropDownList1.SelectedValue;
            adr.selectAddress();
            TextBoxAddressType.Text  = adr.Address_Type;
            TextBoxAddressLine1.Text = adr.AddressLine1;
            TextBoxAddressLine2.Text = adr.AddressLine2;
            TextBoxZipCode.Text      = adr.ZipCode;
            TextBoxPhone.Text        = adr.Phone;
            addressId = adr.Delivery_ID;
        }