Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27512

DataGridViewComboBoxColumn + add.item("MyItem")

$
0
0
Hi all,

I'm fighting a stupid piece of code for about 2 hours now. How do I do something like this:

item.add Code:
  1. Me.DataGridView1.Columns(3).item.add("AAA")

Obviously, this doesn't work. I know it works before one adds DataGridViewComboBoxColumn into the colleciton of columns, but how to add items to collection of items of the existing DataGridViewComboBoxColumn?.

If I have to remove everything and set it from scratch, than I rather dump combo feature - it's too stupid for the small advantage the combo gives...

Thanks in advance for hints.

Oak

Viewing all articles
Browse latest Browse all 27512

Trending Articles



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