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. i want to display all the countries in the world

i want to display all the countries in the world

Scheduled Pinned Locked Moved ASP.NET
7 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.
  • A Offline
    A Offline
    anujose
    wrote on last edited by
    #1

    How i can display all the countries and based on each country that particular states in two comboboxes.instead of saving all states in database any built in class is there?

    J 2 Replies Last reply
    0
    • A anujose

      How i can display all the countries and based on each country that particular states in two comboboxes.instead of saving all states in database any built in class is there?

      J Offline
      J Offline
      JustChiragPatel
      wrote on last edited by
      #2

      hi anujose, if you want to fetch any data then you have to read any database or file... here you dont want to fetch data from database thenyou can fetch data from XML file.. prepare some structure in XML like.. INDIA IN St1 St2 . . . and then read this XML and bind that datatable with your controls... Bye have a nice day...

      Chirag Patel

      1 Reply Last reply
      0
      • A anujose

        How i can display all the countries and based on each country that particular states in two comboboxes.instead of saving all states in database any built in class is there?

        J Offline
        J Offline
        JustChiragPatel
        wrote on last edited by
        #3

        hi anujose, if you want to fetch any data then you have to read any database or file... here you dont want to fetch data from database thenyou can fetch data from XML file.. prepare some structure in XML like.. INDIA IN St1 St2 . . . and then read this XML and bind that datatable with your controls... Bye have a nice day... Chirag Patel

        A 1 Reply Last reply
        0
        • J JustChiragPatel

          hi anujose, if you want to fetch any data then you have to read any database or file... here you dont want to fetch data from database thenyou can fetch data from XML file.. prepare some structure in XML like.. INDIA IN St1 St2 . . . and then read this XML and bind that datatable with your controls... Bye have a nice day... Chirag Patel

          A Offline
          A Offline
          anujose
          wrote on last edited by
          #4

          i don't want to save the list of all countries by hand in anywhere

          S T J 3 Replies Last reply
          0
          • A anujose

            i don't want to save the list of all countries by hand in anywhere

            S Offline
            S Offline
            Sandeep Akhare
            wrote on last edited by
            #5

            Then where yo want to store you must have to store the data you want to display You can't show it on fly ........... Whats your idea ? how you want to implement it ? what is the problem in storing the data ?

            Thanks and Regards Sandeep If you want something you never had, do something you have never done!

            1 Reply Last reply
            0
            • A anujose

              i don't want to save the list of all countries by hand in anywhere

              T Offline
              T Offline
              thomas_joyee
              wrote on last edited by
              #6

              Ok let the end user type his/her country

              Thomas

              1 Reply Last reply
              0
              • A anujose

                i don't want to save the list of all countries by hand in anywhere

                J Offline
                J Offline
                JustChiragPatel
                wrote on last edited by
                #7

                then you can create user control and use it in databinding...i think you will not find any third party control exactly same as your requirement.. bye Chirag Patel

                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