PC Review


Reply
Thread Tools Rate Thread

adding countries in a combobox or listview

 
 
=?Utf-8?B?SGFucyAtIERpYUdyYXBoSVQgLQ==?=
Guest
Posts: n/a
 
      15th Feb 2007
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
 
Reply With Quote
 
 
 
 
ForrestPhoto@gmail.com
Guest
Posts: n/a
 
      15th Feb 2007
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.

 
Reply With Quote
 
PhilipDaniels@foo.com
Guest
Posts: n/a
 
      15th Feb 2007
On 15 Feb 2007 02:17:37 -0800, (E-Mail Removed) wrote:

>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-serv.../list-en1.html

There are free flag collections around, for example:

https://www.cia.gov/cia/publications...ftheworld.html



--
Philip Daniels
 
Reply With Quote
 
Otis Mukinfus
Guest
Posts: n/a
 
      15th Feb 2007
On Thu, 15 Feb 2007 02:03:20 -0800, Hans - DiaGraphIT -
<(E-Mail Removed)> wrote:

>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
 
Reply With Quote
 
=?Utf-8?B?SGFucyAtIERpYUdyYXBoSVQgLQ==?=
Guest
Posts: n/a
 
      19th Feb 2007
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ö
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ComboBox and Countries/Areas/Cities Brendon Bezuidenhout Microsoft ASP .NET 2 16th Nov 2006 10:26 AM
C# Listview subitems with checkbox/combobox =?Utf-8?B?SGl0ZXNo?= Microsoft Dot NET Framework Forms 0 15th Sep 2005 05:59 AM
Combobox in listView? Lars Netzel Microsoft VB .NET 0 29th Aug 2005 03:19 PM
Use a combobox in a cell of a listview? nate axtell Microsoft VB .NET 1 15th Sep 2004 02:47 PM
combobox and listview =?Utf-8?B?ZnJlZGR5?= Microsoft Dot NET Framework Forms 0 24th Feb 2004 08:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:37 AM.