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 -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -