Does anyone know a good website that summarises what you can do with code blocks (i.e. <% <%= <%# etc) in ASP.Net?
Thanks.
Does anyone know a good website that summarises what you can do with code blocks (i.e. <% <%= <%# etc) in ASP.Net?
Thanks.
Here is a MSDN page: MSDN Embedded Code Blocks
<% - any code
<%= - shortcut for Response.Write()
<%# - is for binding
<%-- - is for comments
This question should be helpful:
When should I use # and = in ASP.NET controls?