How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn?

May 3 2006 3:52 PM

Hi all!

I have DataGridView whose sourse I set to a datatable with 4 columns
containing data. I then remove a column, create a DataGridViewComboBoxColumn and insert this into the same location as the column that was removed. I want to set as the selected value in the combo box of every cell in the DataGridView a specific value I have stored in the column of the datable that I removed in the DataGridView.

How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn?

Thanks for your help,

~~Elvia


Answers (3)