In ASP.NET 2.0 with C# I have a page with a formview in EditMode and in it 2 dropdownlist that one is a controll parameter to the other. One is Country and it is a parameter for the second. I can't make the second dropdownlist a bound field because if I do it when I change the country in the country dropdown list I get an error. How to deal with a situation like this? Can the second Dropdoenlist be bounded? with a Bound value?
ThankYou
Anat
Anwar BuchooPosted Jun 30, 2006, 3:40 AM
Let's say you have 2 dropdownlist (hereafter ddl). 1st ddl is bounded with tables Country and the second ddl must be bounded to Region, for instance.
Now the selected value of Country is passed to the stored procedure returning value for Region (via the control parameter).
Its that simple.
I don't see why it does not work if you followed that flow.