c# - What are these called in ASP.NET <%: %>? -


this question has answer here:

what these called in asp.net?

  • <%# ... %>
  • <%= ... %>
  • <%: ... %>

and different variations? how each of them used?

that's code block. version # used data binding. allow embed c# code aspx page.

msdn has article on code blocks here, , article on data binding expressions here.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -