Código ASP:
Ver originalProtected Sub TuDatalist_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataListItemEventArgs) Handles TuDatalist.ItemDataBound
If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
Dim TuBoton2 As Button = DirectCast(e.Item.FindControl("TuBoton"), Button)
TuBoton2.Attributes.Add("onmouseover", "this.style.backgroundColor='yellow'")
TuBoton2.Attributes.Add("onmouseout", "this.style.backgroundColor=''")
End If
End Sub
Espero haberte ayudado, Cuentanos.
Jsrc1990