2
Answers

gridview

Photo of ranjan sahoo

ranjan sahoo

11y
1.1k
1
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)