protected void Page_Load(object sender, EventArgs e) { btnEditShipper.Click += new EventHandler(btnEditShipper_Click); if (!Page.IsPostBack) { ShippersInfo myShipper = SubsiteSalesHelper.GetMyShipper(); if (myShipper != null) { Globals.EntityCoding(myShipper, false); txtShipperTag.Text = myShipper.ShipperTag; txtShipperName.Text = myShipper.ShipperName; ddlReggion.SetSelectedRegionId(new int?(myShipper.RegionId)); txtAddress.Text = myShipper.Address; txtCellPhone.Text = myShipper.CellPhone; txtTelPhone.Text = myShipper.TelPhone; txtZipcode.Text = myShipper.Zipcode; txtRemark.Text = myShipper.Remark; } } }