how to maintain relation between two dropdownlistboxes in .Net2005 version?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • razen12345
    New Member
    • Apr 2008
    • 2

    how to maintain relation between two dropdownlistboxes in .Net2005 version?

    Hi!
    plz guide me that
    how can i get related information from one dropdownlistbox to another.
    For ex: My first Dropdownlist contains country names,second dropdownlist contains states of any country.
    So,when i select india from Dropdownlist1,o nly indian states should be available in Dropdownlist2.

    How can i do it in .Net2005?
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by razen12345
    Hi!
    plz guide me that
    how can i get related information from one dropdownlistbox to another.
    For ex: My first Dropdownlist contains country names,second dropdownlist contains states of any country.
    So,when i select india from Dropdownlist1,o nly indian states should be available in Dropdownlist2.

    How can i do it in .Net2005?
    Is it a web application? Do both the countries and cities come from a database?

    Comment

    • razen12345
      New Member
      • Apr 2008
      • 2

      #3
      Hi!
      It is web application using c#.net as language support. and
      datasourse for dropdownlistbox 2 is nothing but dropdownlistbox 1.
      iam not using any database for this small application.

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by razen12345
        Hi!
        It is web application using c#.net as language support. and
        datasourse for dropdownlistbox 2 is nothing but dropdownlistbox 1.
        iam not using any database for this small application.
        Where are you getting the list of countries and cities from then?

        Comment

        Working...