D
Derek Fountain
Just working through some beginners tutorials over at asp.net, I came
across the use of the <%# construct to embed code snippets. Eg:
<asp:HyperLink ID="HyperLink2" runat="server"
NavigateUrl='<%# Eval("Url") %>'>
<%# Eval("Title") %>
</asp:HyperLink>
All the documentation I can find says code is embedded with <% %> tags.
I can't find any mention of the the additional # symbol anywhere. Yet if
I remove it, the examples stop working.
Can someone point me at the thing I'm supposed to read that makes sense
of this?
across the use of the <%# construct to embed code snippets. Eg:
<asp:HyperLink ID="HyperLink2" runat="server"
NavigateUrl='<%# Eval("Url") %>'>
<%# Eval("Title") %>
</asp:HyperLink>
All the documentation I can find says code is embedded with <% %> tags.
I can't find any mention of the the additional # symbol anywhere. Yet if
I remove it, the examples stop working.
Can someone point me at the thing I'm supposed to read that makes sense
of this?