Interestingly none of the below questions helped me:
How to organize country/state/city browsing in MVC
City Country State Database
Country/City/state validation
Country/State/City Database?
How to do a city/state/country code lookup based on zip/country input by the user?
City, State, Zip, Country list/script for sql server table
I looked at a question about database design which is somehow helpful, but there are some questions that have been left unanswered. I have 3 tables as below:
Country ( CountryID, CountryCode, CountryName )
Region ( RegionID, RegionCode, RegionName, CountryID )
City ( CityID, CityCode, CityName, RegionID )
I have CityID in user's table. The question is what if user does not have state? How should I use dropdowns in my case?
Using ajax based textboxes is out of question in my case.