Populate the dropdown list with states and cities
-
Hello Everyone I am using a drop down list in asp.net 2.0 What i want to do is, user will not select the states but user can select the cities in that, means, according to that country, cities will be listed in same drop down list. Regards Saurabh agarwal
-
Hello Everyone I am using a drop down list in asp.net 2.0 What i want to do is, user will not select the states but user can select the cities in that, means, according to that country, cities will be listed in same drop down list. Regards Saurabh agarwal
I believe , you are using database for that. so in a Dropdown list just read all the States name , when user select state name from dropdown, just create simple query which will retrieve the city name based on states and bind them in a dropdown list.
cheers, Abhijit