如题
或改变成其它颜色也可以
------解决方案--------------------------------------------------------
if (e.Item.ItemType == ListItemType.Item)
{
e.Item.Attributes.Add( "onmouseover ", "this.style.backgroundColor= '#9CCBF7 ' ");
e.Item.Attributes.Add( "onmouseout ", "this.style.backgroundColor= 'WhiteSmoke ' ");
}
if (e.Item.ItemType == ListItemType.AlternatingItem)
{
e.Item.Attributes.Add( "onmouseover ", "this.style.backgroundColor= '#9CCBF7 ' ");
e.Item.Attributes.Add( "onmouseout ", "this.style.backgroundColor= 'White ' ");
}