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