Thursday, May 3, 2012

How to fill combobox column in DataGridView in vb.net?

How to fill combobox in datagridviewcell vb.net:


Dim dgvcombo As DataGridViewComboBoxCell
dgvcombo = DataGridView1.Rows(2).Cells(0)
dgvcombo.Items.Add("comboitem1")
dgvcombo.Items.Add("comboitem2")

2 comments:

  1. Is there any way have in the same column of the DataGridView combos with different info inside each one???

    ReplyDelete