Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/03/2011, 07:42
Avatar de mdavila
mdavila
 
Fecha de Ingreso: julio-2007
Ubicación: Montevideo (Uruguay)
Mensajes: 919
Antigüedad: 16 años, 9 meses
Puntos: 13
Respuesta: colocar saldo rojo en columna de gridview

En el evento de la grilla RowDataBound

Ahi controlas eso y en tal caso le asignas un color especifico.

If (e.Row.RowType <> ListItemType.Header And e.Row.RowType <> ListItemType.Pager) Then
If CType(e.Row.Cells("Campo").Text, Integer) > 0 Then
e.Row.Cells("Campo").BackColor = Color.Red
End If
End If

Saludos.
__________________
Marcelo Davila.

:. En Ignorante te conviertes al no preguntar, el que pregunta se nutre... :.