Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Adding a ComboBox to a bound DataGridView

$
0
0

Hi,

How can you add a ComboBox to a bound DataGridView?

I know how to add a ComboBox if the DataGridView is NOT bound using something like:

cbo

= newDataGridViewComboBoxCell();

and then populating the ComboBox, construct other row columns and finally perfrom a

dataGridViewx.Rows.Add(dataGridRow);

This does not work if the DataGrid is bound - Hence my question.

Thanks for your help.

 


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>