sara
sara

Reputation:

DataGridViewComboBoxColumn

how to set a data source to a specific cell of a DataGridViewComboBoxColumn

Upvotes: 0

Views: 304

Answers (1)

Dror
Dror

Reputation: 7305

Setting the column DataSource, DisplayMember, and ValueMember properties automatically sets the corresponding properties of all cells in the column including the CellTemplate. To override these property values for specific cells, set the column property first, and then set the cell properties.

see MSDN hope this helps...

Upvotes: 1

Related Questions