M
Michael
I'm going through some samples in a book of mine about Data controls. Some
of the examples though contain code embedded within the html, something I'd
like to avoid.
Can someone look at this and tell me how I could do this from a codebehind
page, not the HTML
<asp:datalist id="test" runat="server">
<ItemTemplate>
<%# Container.DataItem %>
</ItemTemplate>
</asp:datalist>
As you can see the line I'm interested in getting rid of is <%#
Container.DataItem %>
Any thoughts?
--Michael
of the examples though contain code embedded within the html, something I'd
like to avoid.
Can someone look at this and tell me how I could do this from a codebehind
page, not the HTML
<asp:datalist id="test" runat="server">
<ItemTemplate>
<%# Container.DataItem %>
</ItemTemplate>
</asp:datalist>
As you can see the line I'm interested in getting rid of is <%#
Container.DataItem %>
Any thoughts?
--Michael