Where can I get a list of all countries/cities to populate a listbox? [closed]

Kind of a programming question...

You create a sign up form and their address is taken from a list of countries and cities. Is there somewhere on the interwebs I can grab these lists from to stick in my listboxes?


Solution 1:

Try this list. Link was updated to the new location.

https://www.iso.org/obp/ui/#iso:pub:PUB500001:en

Solution 2:

if u use asp

http://www.codeproject.com/aspnet/CountryCombo.asp

This one only has countries