Ver Mensaje Individual
  #7 (permalink)  
Antiguo 15/07/2005, 15:20
Avatar de RootK
RootK
Moderador
 
Fecha de Ingreso: febrero-2002
Ubicación: México D.F
Mensajes: 8.004
Antigüedad: 22 años, 3 meses
Puntos: 50
No es dificil friend.. sería así:

Cita:
Private Sub DataGrid1_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles DataGrid1.ItemDataBound
If e.Item.ItemType = ListItemType.AlternatingItem Or e.Item.ItemType = ListItemType.Item Then
If e.Item.Cells(1).Text = "algo" Then
e.Item.BackColor = System.Drawing.Color.Red //aqui illumino toda la fila
End If
End If
End Sub
De todas formas por cualquier cosa en las faq´s coloqué un post para convertir de vb.net a c# y viceversa.