Check out example codes for "vb.net add row to datagridview programmatically". It will help you in understanding the concepts better.
Code Example 1
Private Sub SurroundingSub()
Dim rowId As Integer = dataGridView1.Rows.Add()
Dim row As DataGridViewRow = dataGridView1.Rows(rowId)
row.Cells("Column1").Value = "Value1"
row.Cells("Column2").Value = "Value2"
End Sub
Learn ReactJs, React Native from akashmittal.com