private void PopulateOtherStates(string Country) { this.BillOtherState.Items.Clear(); this.BillOtherState.DataSource = AddressModel.GetStates(Country); this.BillOtherState.DataTextField = "Key"; this.BillOtherState.DataValueField = "Value"; this.BillOtherState.DataBind(); }
private void PopulateOtherStates() { this.AddressModel.Country = BillOtherCountry.SelectedValue; this.BillOtherState.Items.Clear(); this.BillOtherState.DataSource = AddressModel.GetStates(); this.BillOtherState.DataTextField = "Key"; this.BillOtherState.DataValueField = "Value"; this.BillOtherState.DataBind(); }