Dynamic drop down list by using asp.net, c# and sql server - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Dynamic drop down list by using asp.net, c# and sql server

ApplellialApplellial Posts: 21Member
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 .
Sign In or Register to comment.