Guys, how do i change the text forecolor on the status in the datagrid cell? I have this working fine on a windows form app, but in the world of asp.net this is slightly different to me. I'm assuming i use the code in the Default.aspx.cs file?
I have the grid populating ok, but now i want to format the text colour if column "User" has a value of "Mike" in the cell, My datagrid is called: GridView1

1 answers
ASP.NET isn't my forte either but, assuming (from the name) it's a GridView rather than the old DataGrid control, I think you'll need to handle its RowDataBound event. Something like this:
answered one year ago by:
17279
690
Thanks vulpes, I did get it working on the above advice.