preetpalkapoor
04-07-2011, 06:03 PM
Hi
I am trying to bind data with 2 dropdowns.
I am having 2 tables (sql server):
1)country:
country_id(primary key)
country_name
2)state:
state_id(primary key)
state_name
country_id(foreign_key)
now i tried to bind the data with 2 dropdown list
ddp1 and ddp2.
such that when i select the country from first dropdown(ddp1) then the state corresponding to that country should come in the second dropdown(ddp2).
Can some one please help me .
Thanks .
I am trying to bind data with 2 dropdowns.
I am having 2 tables (sql server):
1)country:
country_id(primary key)
country_name
2)state:
state_id(primary key)
state_name
country_id(foreign_key)
now i tried to bind the data with 2 dropdown list
ddp1 and ddp2.
such that when i select the country from first dropdown(ddp1) then the state corresponding to that country should come in the second dropdown(ddp2).
Can some one please help me .
Thanks .