Click here to Skip to main content
15,898,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have two combo boxes
1.contain Mr.,Mrs.,Miss,Master
2.contain s/o,w/o,c/o

now when i select Mr. or Master then 2nd combo box show s/o

????????????
Posted

1 solution

use the SelectedIndexChanged event on the first combobox then in the event handler for it set the SelectedIndex of the second combobox to the required value.
 
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