在ItemDataBound事件中寫If e.Item.ItemIndex <> -1 then
e.Item.Attributes("onmousedown") = "this.name=this.style.backgroundColor;this.style.backgroundColor='#CCCCFF';"
End If