Código vb:
Ver original
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Dim fila As Integer = 0 DataGridView1.Rows(fila).Cells(0).Value = variable1 DataGridView1.Rows(fila).Cells(1).Value = variable2 DataGridView1.Rows(fila).Cells(2).Value = variable3 DataGridView1.Rows(fila).Cells(3).Value = variable4 End Sub