if (e.Row.RowType == DataControlRowType.DataRow) { if (Convert.ToInt32(e.Row.Cells[2].Text) < 300) { e.Row.Cells[2].BackColor = System.Drawing.Color.Red; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)