adding countries in a combobox or listview

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!

It's me again with my silly questions.

Does .Net framework 1.1 hold any list of all the countries in the
world/region?

I'm deveolping a windowsform and I need to list all available countries in
a combox or listview in the specific language. I rather don't want to add
all countries by hand (stored in a MS SQL Server) and in different languages.

Do the Systems.Gobalization or System.Threading hold the key to my solution,
or where can I find help.

Best regards
Hans
 
The framework doesn't have lists of things like countries or exchange
rates. If you have it in SQL Server you can use the
System.Data.SqlClient namespace to get at it ... otherwise Google will
find you a list.
 
The framework doesn't have lists of things like countries or exchange
rates. If you have it in SQL Server you can use the
System.Data.SqlClient namespace to get at it ... otherwise Google will
find you a list.

Making a table based on the ISO standard is a good idea. The countries
don't change that often :-) I have such a table in one of my
databases, along with the flags for each country. Then I just DTS it
into my latest project if needed.

http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html

There are free flag collections around, for example:

https://www.cia.gov/cia/publications/factbook/docs/flagsoftheworld.html
 
Hi!

It's me again with my silly questions.

Does .Net framework 1.1 hold any list of all the countries in the
world/region?

I'm deveolping a windowsform and I need to list all available countries in
a combox or listview in the specific language. I rather don't want to add
all countries by hand (stored in a MS SQL Server) and in different languages.

Do the Systems.Gobalization or System.Threading hold the key to my solution,
or where can I find help.

Best regards
Hans
Not a silly question, Hans.

There is a list of all the countries in the world that belong to the
International Telecommunications Union (ITU) at WikiPedia, but it is not in a
format you can just load up. Search Wikipedia for "ITU Allocations" or "ITU
Callsign Allocations" you might even look for "ITU Members" and get a list that
you can read via computer. If a country uses telephones or has radio
broadcasting they will most likely be in that list. If they are not they will
be a very small country indeed.


Good luck with your project,

Otis Mukinfus

http://www.otismukinfus.com
http://www.arltex.com
http://www.tomchilders.com
http://www.n5ge.com
 
Hi!

Thank you for your replay. Extracting data from an ISO list into my MS SQL
Server seems like a good idea. I'll try it out.

Best regards
Hans Årsjö
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top