views:

78

answers:

2

Does anyone know a good website that summarises what you can do with code blocks (i.e. <% <%= <%# etc) in ASP.Net?

Thanks.

+2  A: 

Here is a MSDN page: MSDN Embedded Code Blocks

<%    -  any code

<%=   -  shortcut for Response.Write()    

<%#   -  is for binding

<%--  -  is for comments
Aaron Hoffman
You're missing <%@ and <%$, at least.
Joel Coehoorn
+1  A: 

This question should be helpful:
http://stackoverflow.com/questions/115159/when-should-i-use-and-in-aspnet-controls

Joel Coehoorn