Вот как это можно сделать
<asp:GridView... OnRowCreated="GvListingReport_RowCreated" />
и в коде
public void GvListingReport_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='#DDDDDD';this.style.cursor='hand'");
ListingRecord record = e.Row.DataItem as ListingRecord;
if (record != null)
{
e.Row.Attributes.Add("onclick", "javascript:MM_openBrWindow('" + url + "','dec','scrollbars=yes,resizable=yes')");
}
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor='#FFFFFF';");
}
}
Вы также можете заставить эффект наведения сохранять цвет для чередующихся рядов.