Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have combobox in gridview in windows form.i added hard coded value to the combobox and i want set bydefault value to the combobox means text property, how can i do it...............please help me.........
Posted

Use this:
cmb.SelectedValue ="abc"

Thanks,
Rachit
http://agarwalrachit.blogspot.in/
 
Share this answer
 
I think it will help you

Change individual DataGridView row colors based on column value[^]

Thanks
Adersh Ram
 
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