Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/04/2013, 08:49
erickrpv
 
Fecha de Ingreso: abril-2013
Ubicación: Lima
Mensajes: 83
Antigüedad: 11 años, 1 mes
Puntos: 1
Información Validar checkbox en datagridview

Tengo el siguiente código.. en el formulario1

For i As Integer = 0 To Me.DGV1.Rows.Count - 1
'variable = DGV1.Rows(i).Cells(4).Value
If login_personal.TXT_dato01.Text = mostrar_personal.LBL_percod.Text Then
variable = DGV1.Rows(i).Cells(4).Value
MsgBox(variable)
If variable = IdModificar Then
DGV1.Rows(i).Cells(0).Value = True
Else
DGV1.Rows(i).Cells(0).Value = False
End If
End If
Next

quiero validar la condición en el primer If para que pase en caso me haya logueado de un formulario2 a un formulario3. Osea quiero que por cada vez que me loguee, se ponga el check automatico