- registering the user control
<%@ Register src="webPartUC.ascx" tagname="webPartUC" tagprefix="uc" %>
- loading the user control <uc:webPartUC ID="webPartUC1" runat="server" />
<uc:webPartUC ID="webPartUC1" LabelText="TEXT" runat="server" />
if you wanted to pass webpart properties from within a DataList Control Items .. all you have to do is to specify the values as follows making sure to add the below line inside the DataList:
<asp:DataList ID="usersDL" runat="server" Width="100%" >
<ItemTemplate>
<uc:webPartUC ID="webPartUC1"
LabelText=<%# Eval("userName")%> runat="server" />
</ItemTemplate>
</asp:DataList>
Thats it :)