Instead of adding data in the new blank row, it creates a blank row and adds new data in the add new '*'. Like this:
Vdroptable
as the datagridview
Here's the code of delete row
If Vdroptable.Rows(j).Cells(0).Value.ToString = "A1B1" Then
Vdroptable.Rows(j).Selected = True
For Each row As DataGridViewRow In Vdroptable.SelectedRows
Vdroptable.Rows.Remove(row)
Next
Code of adding row
If SpanName.Text = "A1B1" Then
iVdroptable.Rows.Add()
Vdroptable.Rows(x).Cells(0).Value = "A1B1"
Vdroptable.Rows(x).Cells(1).Value = "A1"
Vdroptable.Rows(x).Cells(2).Value = "B1"