Código:
Pero no me esta funcionando el seleccionar la fila, saludos. For i As Integer = 0 To DataGridView1.Rows.Count - 1
If DataGridView1.Item(7, DataGridView1.CurrentRow.Index).Value = Codigo Then
Dim cell As DataGridViewCell = DataGridView1.CurrentCell
cell.Selected = True
End If
Next
PD: tambien probe currentrow pero me dice que es solo lectura.


