Possible Duplicates:
What is the difference between <% %> and <%=%>?
C# MVC: What is the difference between <%# and <%=
I'm so confused with this.
Please explain the difference between this if possible..
What is the significance of that "=" there?
Edit:Thanks for all your answers.Please understand that It was hard to get any results by searching for "<%=" on google and on the search bar in stackoverflow as well.
<% %>
is a generic code block.
<%= expression %>
is equivalent to <% Response.Write(expression); %>
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With