Populating ASP.NET Dropdown List with List of Countries

  • Thread starter Thread starter mmohlameane
  • Start date Start date
M

mmohlameane

Hi!
I would like to populate the dropdown with the list of all country name ( e.g South Africa, Zimbabwe,United States, etc). Is there a function to do that?

Thanks
 
There is nothing in the framework (or the OS) that I am aware of that
will do this for you. However, you can easily place this sort of
information in a resource file, and get that. I would recommend using the
ISO country list, which can be found at:

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

Hope this helps.


Hi!
I would like to populate the dropdown with the list of all country name
( e.g South Africa, Zimbabwe,United States, etc). Is there a function to do
that?
engine supports Post Alerts, Ratings, and Searching.
 
Back
Top