点击变色
<script language="javascript">
var obj = null;
</script>在Onitemdatabound事件中加入如下语句e.Item.Attributes["onclick"]=" if (obj == this) return; if (obj != null) obj.style.backgroundColor = ''; this.style.backgroundColor='#1CCCFF'; obj=this;";