[ASP.NET] <%# %> vs <%= %> - Stack Overflow: "<%= ... %> is generally equivalent to Response.Write(...) it cannot be used in a control attribute that is runat='server'
<%: ... %> (as of .NET v4.0) is an html encoded version of <%= %> (as @Eric mentions)
<%# ... %> is used in data-binding context for Bind, Eval or Output (as @Ray mentions)"
No comments:
Post a Comment