Click here to Skip to main content
15,883,978 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a two DropDown Boxes
in Asp Page.
I have Filled the First DropDown Box As
<select name="selDiv" id="selDiv" style="width: 420px">
		<option value="1">A</option>
		<option value="2">B</option>
		<option value="3">C</option>
		<option value="4">D</option>
		<option value="5">E</option>

		</select>

Next I have Another DropDown Box and my need
is to Query the Database Acoording to the Value Selected in the First DropDownBox
mean i have to Query on the Values 1,2,3,4.
When User Selects from First DropDown
According it should Query the Database
and then Value Should be Filled in the Second DropDownBox.

Please Assist .How Can I do This .Am using Javascript to Query the database.how can i do this.
Posted
Comments
lailac88 21-Mar-13 22:27pm    
here is a sample code--> http://classicaspreference.com/aspexamples/dropdown_selection_box_hyperlinked_menu_from_database.asp

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