473,386 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

adding countries in a combobox or listview

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
Feb 15 '07 #1
4 6799
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.

Feb 15 '07 #2
On 15 Feb 2007 02:17:37 -0800, Fo**********@gmail.com 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
Feb 15 '07 #3
On Thu, 15 Feb 2007 02:03:20 -0800, Hans - DiaGraphIT -
<Ha************@discussions.microsoft.comwrote:
>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
Feb 15 '07 #4
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ö
Feb 19 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Eva | last post by:
Hi, I wanted to know how i can enter values into a specific column of a listview. I have tried the following code but this seems to enter all my values into the first column!!! Can anyone...
1
by: nate axtell | last post by:
I need something that looks like a ListView but will allow SubItems of the ListView to be ComboBoxes, or allow the contents to be a ComboBox. So for each row in the ListView one of the columns...
1
by: Ken Yu | last post by:
Hi, How can create image in ListView and ComboBox ? tks a lot ! Ken
2
by: Brendon Bezuidenhout | last post by:
All, Real daft one here - Does anyone know where I can find a list of all countries, areas and cities to populate into Combo Boxes on a web form possibly? Thanks in advance Brendon
9
by: Kadett | last post by:
Hi all, I have following problem: I'm creating a ListView (Details) control at run-time and filling it with some records (let's say 10 000). This operation seems to be quite fast, but when I call...
0
by: ER | last post by:
Hi Guys Started having a play with WPF and need some direction with a grid. I am trying to build a list of products in a grid view with combox boxes as column headers that allow filtering and...
0
debasisdas
by: debasisdas | last post by:
Select Microsoft windows common controls 6.0 (SP6) from components Add a ListView control to the form. Add 2 ImageList controls to the form. Add some bitmaps to both the imagelist. Set the name...
1
by: Shimon Sim | last post by:
I can't figure out how to bind ComboBox inside of ListView or ListBox. How do I set ComboBox.ItemsSource property? I don't see the way to do it in code and not in XAML. I have Collection that is...
0
by: lsharva | last post by:
Actually, i m working on Windows Application where i have to use the ComboBox and listview in a way , as first we will click the comboBox and then as you click , ListView appear and when we...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.