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