Click here to Skip to main content
15,896,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have two dropdowns with data as:
First:
IdTask TaskName
1 Production
2 Analysis
3 Management
Second:
IdSubTask SubTaskName Id
1 Analysis 1
1 Bug fix 2
2 Dev env 1
2 Analysis 2
2 Documentation 3
3 Test 1
3 Analysis 2

I wrote the query to populate 2nd dropdown according to the selected value from 1st dropdown.

However the prob is i am not able to retain the 2nd dropdown value to the database on button click and i need to write a code like if i select 2 - analysis from 1st dropdown populate 2nd dropdown with:
Dev env
Analysis
Documentation

and wen i select Analysis with id 2 in second dropdown it should fill my database with drpdown 1 value - Analysis and drpdown 2 value - Analysis.

Please help!!

thank you!!
Posted
Comments
TheKarateKid 27-Feb-15 15:52pm    
Can you post what you have tried so far? where are you facing the issue?

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