Data bind simbols legend in Asp.Net

An overview for the code render blocks in Asp.Net :

  • <%#   %>  –  to be used for databinding (es repeater rows etc).
  • <% %>   – code render block, allow execution of inline expressio (es Response.Write(“something”);
  • <%$ %>   – Expression used to bind external parameters.
  • <%= %>  – Renders the content of the block.
  • <%: %>  – Html.Encode what’s in the block.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s