What is the difference between the <%# and <%= opening tags?
.net, asp.net
Solution
`<%=` is a equivalent to `<% Repsonse.Write()`
You can write any content out here: for example
<%=myProperty + " additional Text" %>
`<%#` is a binding expression. You can retrieve any public value in the current context (for example in GridViews). But you cannot mix content here.
Take a look at MSDN for more information.
Problem
While editing an aspx file I found both these opening tags used for seemingly the same thing. Is there a difference and if yes, what is it?