hi,
I am changing the gridview row color based on a database column of certain value....
This works but if I delete a different row in the gridview row with the color effect reverts back to
default none when it should be shaded?
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if(e.Row.RowType == DataControlRowType.DataRow)
{
if (Convert.ToInt16(DataBinder.Eval(e.Row.DataItem, "Seen")) == 0)
{
e.Row.BackColor = System.Drawing.Color.FromName("#ffffcc");
&nbs ...
Go to the complete details ...