Hi,
Add two more attributes, 1st remove the background color of particular cell on mouse hover and then add the previews background color on mouse out. Then only this parent style will work. Try this:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
GridViewRow s = (GridViewRow)e.Row;
s.Cells[5].Attributes.Add("onmouseover", "oDiv.style.removeProperty('background-color');");
s.Cells[5].Attributes.Add("onmouseout", "oDiv.style.background-color=#FFFF");
e.Row.Attributes.Add("onmouseover", "this.originalcolor=this.style.backgroundColor;" + " this.style.backgroundColor='#FDCB0A';");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=this.originalcolor;");
}
}
--amit