Here I took three dropdown lists, Country, State and City. You will see how to fill the state dropdownlist based on the data of the country dropdownlist.