//if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
//{
// e.Item.Attributes.Add("onmouseover", "this.OldBC=this.style.backgroundColor;this.style.backgroundColor='#B9D9FB';");
// e.Item.Attributes.Add("onmouseout", "if(this.OldBC!=undefined)this.style.backgroundColor=this.OldBC;");
//}
交替项颜色变化
最新推荐文章于 2023-08-14 16:58:05 发布