2
Reply

gridview

ranjan sahoo

ranjan sahoo

Aug 22 2013 2:52 AM
689
how to put gridview selected row color conditionwise?

like
            string x = e.Row.Cells[8].Text.ToString();
                string y = e.Row.Cells[7].Text.Trim();
                 

    if (x> y)
{
 //those row color are red;
}
else
{
//those row color are blue;
}

Answers (2)