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:
http://stackoverflow.com/questions/115159/when-should-i-use-and-in-aspnet-controls