Question : How do I add a ComboBox to a C# Datagridview only in a particular cell?  Not the whole column.

How do I add a ComboBox to a C# Datagridview only in a particular cell?  Not the whole column.
The ComboBox control would always be in column 2 for example for only in particular rows.
Any ideas?
Thanks,

Answer : How do I add a ComboBox to a C# Datagridview only in a particular cell?  Not the whole column.

Use following code to set combobox cell in row 2 / cell 1.
1:
dataGridView1.Rows[2].Cells[1] = new DataGridViewComboBoxCell();
Random Solutions  
 
programming4us programming4us