protected void changeDistricts() { //System.Diagnostics.Debug.WriteLine(DropDownCountry.SelectedItem.Value); string[] st = test.getDistricts(DropDownCountry.SelectedItem.Value); DropDownDistricts.DataSource = st; DropDownDistricts.DataBind(); }