Avec DataGridView1.RowHeadersVisible = False
.Colonnes (0) .Name = "FName"
.Colonnes (1) .Name = "LName"
End With
Dim GridRow As String () = {"John", "Forgeron"}
Dim gridRow1 As String () = {"Kitzia", "Ramos"}
Dim gridRow2 As String () = {"Oscar", "Gonzalez"}
Dim gridRow3 As String () = {"Alan", "Duran"}
Avec Me.DataGridView1.Rows
.Ajouter (GridRow)
.Ajouter (gridRow1)
.Ajouter (gridRow2)
.Ajouter (gridRow3)
End With