I resolved.
The following code not works in 6.2 (works in 6.1)
Dim dgwc As New DataGridViewColumn
dgwc.DataPropertyName = "col1"
dgwc.CellTemplate = New DataGridViewTextBoxCell()
DataGridView1.Columns.Add(dgwc)
The following works also in 6.2
Dim dgwc As New DataGridViewTextBoxColumn
dgwc.DataPropertyName = "col1"
DataGridView1.Columns.Add(dgwc)
In version 6.1 columns of DataGridViewColumn type is showed but not in 6.2.
Is it a bug or a design issue?
In any case thanks for your attention.
Greg.