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. Web Development
  3. ASP.NET
  4. Filling a combo box of airport of the world

Filling a combo box of airport of the world

Scheduled Pinned Locked Moved ASP.NET
help
5 Posts 3 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.
  • S Offline
    S Offline
    steve_rm
    wrote on last edited by
    #1

    Hello, I am creating a flight website that will allow users to select places that they want to fly to. They will select the departure and destination from selecting the airport from the combo box. My problem is, that there are many airports in the world. Would I have to manually insert all of them, or is they a method to collect all the airport and fill the combo boxes with them. If did this the manual way, l think i could miss some, and it would take a long time. Thanks in advance, Steve

    G 1 Reply Last reply
    0
    • S steve_rm

      Hello, I am creating a flight website that will allow users to select places that they want to fly to. They will select the departure and destination from selecting the airport from the combo box. My problem is, that there are many airports in the world. Would I have to manually insert all of them, or is they a method to collect all the airport and fill the combo boxes with them. If did this the manual way, l think i could miss some, and it would take a long time. Thanks in advance, Steve

      G Offline
      G Offline
      goyal manish
      wrote on last edited by
      #2

      at least once you have toput all of yhrm in database and then later u can fill urs comboboxes from database.

      P 1 Reply Last reply
      0
      • G goyal manish

        at least once you have toput all of yhrm in database and then later u can fill urs comboboxes from database.

        P Offline
        P Offline
        Paddy Boyd
        wrote on last edited by
        #3

        But wouldn't it be nice to have databases that could fill themselves... ;P

        G 1 Reply Last reply
        0
        • P Paddy Boyd

          But wouldn't it be nice to have databases that could fill themselves... ;P

          G Offline
          G Offline
          goyal manish
          wrote on last edited by
          #4

          but for that also you have to take data from somewhere else. ultimately somewhere it ahould be already present. Are you trying to get that data from somewhere else, where it is already maintained?

          S 1 Reply Last reply
          0
          • G goyal manish

            but for that also you have to take data from somewhere else. ultimately somewhere it ahould be already present. Are you trying to get that data from somewhere else, where it is already maintained?

            S Offline
            S Offline
            steve_rm
            wrote on last edited by
            #5

            Hello, Thanks for your reply. The following link has all the airport codes, city, and country. This is what l want. http://www.nationsonline.org/onewor...t\_code\_list.htm The airport city would have to be loaded into the combo box for the user to select from, there are over a 1000. My question would it be quicker to load them from a SQL server or from a XML file? Thanks in advance -- modified at 1:46 Saturday 6th May, 2006

            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