I came across some code where the original programmer is using <%# ... %> in the page where it does nothing related to data binding. It is being used to output a string to the page. Is this safe? Does <%# behave like <%= in this case or <%: ?
I came across some code where the original programmer is using <%# … %>
Share
Only if the code inside the tag explicitly calls Response.Write() or similar.