Click here to Skip to main content
16,015,504 members

Comments by Member 10508337 (Top 2 by date)

Member 10508337 8-Sep-23 9:49am View    
I just did what CB Sharma speciied. However I wass unable to save the image as file. Its ben the whole day gone waste
Member 10508337 17-Jan-22 1:16am View    
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
The above code does not help me add a row to the Grid