ranjan sahoo

ranjan sahoo

  • NA
  • 311
  • 273.2k

gridview

Aug 22 2013 2:52 AM
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)