dgv2.NewRowIndex.ToString(textbox1.Text)
For i = dgv2.RowCount - 1 To 0 Step -1
If dgv2.Rows.Item(i).Cells(1).Value = textbox1.Text Then
dgv2.Rows(i).Selected = True
Me.dgv2.CurrentCell = Me.dgv2.Rows(i).Cells(1)
End If
Next
dgv2.NewRowIndex.ToString(txtbox1.Text)
For i = dgv2.RowCount - 1 To 0 Step -1
If dgv2.Rows.Item(i).Cells(0).Value = txtbox1.Text And dgv2.Rows.Item(i).Cells(1).Value = txtbox2.Text Then
dgv2.Rows(i).Selected = True
Me.dgv2.CurrentCell = Me.dgv2.Rows(i).Cells(0)
End If
Next