Click here to Skip to main content
15,893,190 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to do combobox noneditable and want to show default text as Select to Combobox before combobox selection.
Posted

declare
int Index=0;
and which index u want default assign that value to index
suppose u want to load on 3rd item as default
then assign Index=3;

Combobox.SelectedIndex = Index;


for non editable change Readonly
 
Share this answer
 
 
Share this answer
 
can someone help me i need to have access to one of the items on the combobox can someone help me how to do it ?
 
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