Cita:
Iniciado por shalom_dy
Web
Cita: Estoy usando Net2003 y WebForms....
Es que ya pos, trato de leer lo más rápido que puedo.
Bueno aquí va. Este código lo tienes que pegar en el evento ItemDataBound del datagrid
Olvidate de importar otras cosas que naa que ver
Código:
If e.Item.ItemType = ListItemType.Item Or _
e.Item.ItemType = ListItemType.AlternatingItem Then
e.Item.Attributes.Add("onmouseover", "this.style.backgroundColor='#BEE6F0'")
e.Item.Attributes.Add("onmouseout", "this.style.backgroundColor='#F3F3F3'")
End If
Selecciona el color a tu gusto wey