locked
Value in dropdownlist2 that depends on dropdownlist1 RRS feed

  • Question

  • User-1386674997 posted

    Hi, I have created a webpage that consist 2 dropdownlist.The first one has connection with database (SqlDataSource), I can see the values without problem. But what I want is: when I make a choice in first dropdownlist the second dropdownlist must consist value that depends on that. I have 2 different tables, but both of them has same common field (ID). An example of what I want:

    Dropdownlist1: <Choose country> Dropdownlist2:<Choose state> 

    How can I fix this in ASP.NET C# ? 


    Tuesday, February 8, 2011 5:29 AM

Answers

All replies