for (int i = 0; i <= GridView1.Rows.Count - 1; i++)
{
DataRowView mydrv = myds.Tables["AllUsers"].DefaultView[i];
int iDate = Convert.ToInt32(mydrv["UserId"]);
if (Convert.ToInt32(iDate) < 200000)
{
GridView1.Rows[i].Cells[4].BackColor = System.Drawing.Color.Red;
}
}