在ItemDataBound中:if (e.Item.ItemIndex >= 0){ e.Item.Attributes["onMouseOver"] = "javascript:this.bgColor='#00ff00';"; e.Item.Attributes["onMouseOut"] = "javascript:this.bgColor='#0000ff';";}这是改变背景色的,你可以把this.bgColor='#00ff00'换成其他动作。
调试欢乐多
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货