コード例 #1
0
 private void PopulateOtherCountries()
 {
     this.BillOtherCountry.Items.Clear();
     this.BillOtherCountry.DataSource     = AddressModel.GetCountries();
     this.BillOtherCountry.DataTextField  = "Key";
     this.BillOtherCountry.DataValueField = "Value";
     this.BillOtherCountry.DataBind();
 }