http://weblogs.asp.net/sushilasb/archive/2006/01/27/How-To_3A00_-Change-the-row-Background-color-based-on-the-database-value-using-GridView-Control.aspx
http://weblogs.asp.net/HPreishuber/archive/2006/01/09/434889.aspx
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e){ if (e.Row.RowType == DataControlRowType.DataRow) { bool isnewRow = (bool)DataBinder.Eval(e.Row.DataItem, "MyItem"); if ( isnewRow ) e.Row.BackColor = ColorRed;}}
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend