Click here to Skip to main content
15,922,427 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
please tell me how to select value from two dropdown list. its mean one dropdown line is image resolution and second image categories after selected both value display the result.




it not mean to select two value form one dropdown list.

thank you
Posted

You can add SelectedIndexChanged event to both dropdownlist controls and check the dropdownlist1 and dropdownlist selected items values, if both dropdownlists having values, you can load data.
 
Share this answer
 
there is two option first select two dropdown and click at a button

or selectedindexchange event as DamithsL said

the easy way is to use a button because it is not complicate for beginer programmer

but you can try to use selectedindexchange event to learn how to add event and how to use the event for

another event control for the future

Cheer

string SelectedIndex = "";

SelectedIndex = combobox.selecteditem ;
 
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