Hi Ken,
That is what I have tryed. But the translation to VB.Net gives an error on.
this.DataList_Lobbies.ItemDataBound += new DataListItemEventHandler(rptLobbies_ItemDataBound);
to
Me.DataList_Lobbies.ItemDataBound += New DataListItemEventHandler(rptLobbies_ItemDataBound)
gives me Error 3208 'Public Event ItemDataBound(sender As Object, e As System.Web.UI.WebControls.DataListItemEventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
Is there an other way to do this in vb
Thanks