Possible Duplicate:
Meaning of the various symbols in .aspx page of asp.net
I'm familiar with <%= "whatever" %>
as a shortcut for <% Response.Write("whatever"); %>
.
But I've recently come across some code that uses <%# %>
instead. In this particular codebase, it's only being used inside of an <asp:Repeater />
but I
What does <%# %>
do and when can/should it be used?
<%# ... %>
Data-binding expressions are an important set of code delimiters, which are used to create a binding between a server control property and a data source.
More about it here:
ASP.NET Code Delimiters
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With