Hi. I am using the following loop to add over two hundred columns to a DataGridView.
I need to programatically set the text value of any of the cells to something but get an error when I do this. How can I change my code so that text can be dropped in too?
Dim xx As New DataGridViewComboBoxColumn
For i as integer = 0 to UBound(arrHeaders)
xx.Name = arrHeaders(i)