An overview for the code render blocks in Asp.Net :
- <%# %> – to be used for databinding (es repeater rows etc).
- <% %> – code render block, allow execution of inline expressio (es Response.Write(“something”);
- <%$ %> – Expression used to bind external parameters.
- <%= %> – Renders the content of the block.
- <%: %> – Html.Encode what’s in the block.
