If you are just inserting information on a page, what are the differences, if any, between:
<%#Variable%>
and
<%=Variable%>
I’ve always used the # but a co-worker asked me today and I realized that, as far as I know, they are the same. Surely, though, there must be some difference or why would MS provide both?
is legacy from Classic ASP. Its short for
A new variation on that is
which handles encoding it to HTML entities.
is used in data binding.