Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. System.Globalization and Provinces

System.Globalization and Provinces

Scheduled Pinned Locked Moved C#
question
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ryan Minor
    wrote on last edited by
    #1

    Hi there Does anybody know if System.Globalization can produce a list of states/provinces for a given Country?

    D A P 3 Replies Last reply
    0
    • R Ryan Minor

      Hi there Does anybody know if System.Globalization can produce a list of states/provinces for a given Country?

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      AFAIK, it cannot. One can get the list of countries from the registry entry for telephony but states, I guess no.

      1 Reply Last reply
      0
      • R Ryan Minor

        Hi there Does anybody know if System.Globalization can produce a list of states/provinces for a given Country?

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        The CultureInfo class contains country and language information, but no state / province level information.

        1 Reply Last reply
        0
        • R Ryan Minor

          Hi there Does anybody know if System.Globalization can produce a list of states/provinces for a given Country?

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          No it can't. That's not what it's designed to do. This type of information has to be coded/collected yourself I'm afraid (although there are purveyors of geographic database libraries out there who've done the hard work for you already).

          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

          My blog | My articles | MoXAML PowerToys | Onyx

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups