<% %> – is for inline code (especially logic flow) <%$ %> – is for evaluating expressions (like resource variables) <%@ %> – is for Page directives, registering assemblies, importing namespaces, etc. <%= %> – is short-hand for Response.Write (discussed here) <%# %> – is used for data binding expressions. <%: %> – is short-hand … Read more