0
i want change one word only in a row
0
no iam not asking this. i am software developer. software word change in another color
0
<AlternatingRowStyle BackColor="#808080" />
<AlternatingRowStyle ForeColor="#808080" />
-1
// In template column,
if (e.Row.RowType == DataControlRowType.DataRow)
{
var obj = (MyObject)e.Row.DataItem;
if (obj.Status == 1)
{
e.Row.Cells[2].Text = "IN";
e.Row.Cells[2].BackColor = Color.Blue;
e.Row.Cells[2].ForeColor = Color.White;
}
}