Click here to Skip to main content
15,741,818 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i had a table named as 'addcategory'
in that there 4 cols 'category,subject,question,answer'
in aspx form i have two drop down lists one for add category and other to ad subject
first i want to add category in dropdown1 and from that i select one category then add the related subjects in dropdown2 i also need there is no repeated values in both drop down lists ,also if one category is the particular subjects which are under that category should be in the subject drop down list wt can i do ? plz hlp me in detailed thanx a lot in advance

1 solution

Do a search for cascading dropdown, you will find many resources to help with populating one dropdown with values based on the selection in another.
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