if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onmouseover", "e=this.style.backgroundColor; this.style.backgroundColor='#eee'");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=e");
}
{
e.Row.Attributes.Add("onmouseover", "e=this.style.backgroundColor; this.style.backgroundColor='#eee'");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=e");
}