Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I have a drop down list with ID ddlCity and another Dropdownlist with ID ddlArea.What I want that when I select any value in ddlCity,then corresponding areas are binded in ddlArea dropdown list.Please Tell me??
Posted
Comments
Tushar sangani 11-Dec-14 8:31am    
For That create two Table City And Area to Sore city Id in Area table
when Selected City dropdown set Autopostback True and set event selecteditem changed event write Querry For That And Bind DropArea Dropdown
Rajesh waran 11-Dec-14 8:33am    
which db you are using? try to bind ddlArea in ddlCity_selectedindexChanged event by passing city id.If you provide more info we can help help you.
Member 11246037 11-Dec-14 8:48am    
thank you @Tusharsarangi..I have already done everything.One thing i have done that I just set Autopostback="true" for my ddlCity.And its working perfectly.

1 solution

Visit This bloge select Topic is Cascading DropDown

http://tusharsangani.blogspot.com/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900