protected void PivotGridRowBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { string val=""; foreach (TableCell cell in e.Row.Cells) val = cell.Text; if(val=="A") { } } }
foreach (TableCell cell in e.Row.Cells) { string val = cell.Text; if (val == "A") { cell.BackColor = System.Drawing.Color.Red; } else { ....... } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)