protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
CheckBox cbx = (CheckBox)e.Row.FindControl("checkBoxID");
if (cbx != null)
{
if (cbx.Checked)
{
e.Row.BackColor = System.Drawing.Color.Red;
}
}
}
this is an Example of how to change bg color of a gridRow.