Click here to Skip to main content
16,012,223 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to use a editable grid view in which one column entry should be as dropdown .
pls help how to populate a dropdown in a grid view
Posted

1 solution

Set your DataGridView ColumnType to DataGridViewComboBoxColumn.
Then bind the Items property of the ComboBox to the options you like to have in the dropdown.
 
Share this answer
 
Comments
Nish Nishant 8-Apr-11 7:57am    
Voted 5, proposed as answer.
lukeer 8-Apr-11 9:04am    
How is it possible to get voted a 4.56 out of 5 with 2 votes?
Amund Gjersøe 8-Apr-11 9:43am    
Some votes weigh more than other I guess ;)
Short questions often get short answers.

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