public void ItemDataBoundEventHandler1(objectsender, GridViewRowEventArgs e){ if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes.Add("onmouseover","this.style.backgroundColor='Silver'"); e.Row.Attributes.Add("onmouseout","this.style.backgroundColor='#FFFBD6'"); }}