Hi,
One of the way to Acheive this you have to use the "RowDataBound Event" you
can check if the text of the cell is "Error" and there you can make the
Color of that text to Red.
//If you know the column index , I assume the column is 3 in this sample
code and applied.
if(e.Row.Cells[3].Text=="Error")
{
e.Row.Cells[3].ForeColor = Color.Red;
}
hope that helps
Regards,
A.Sivakumar.
"dm1608" <dm****@spam.net> wrote in message
news:uc**************@TK2MSFTNGP15.phx.gbl...
I have a GridView that is using an ObjectDataSource to populate.
One of my columns is named "Status" and can have a value of "Complete",
"Error", "Active", and "Unknown". I would like to have the text for the
word "Error" displayed in RED letters. How can I do this with a GridView
control?