Live Chat Icon For mobile
Live Chat Icon

What is the different between <%# %> and <%= %>

Platform: ASP.NET| Category: Basic

The <%# %> is used for databinding where as <%= %> is used to output the result of an expression. The expression inside <%# %> will be executed only when you call the page’s or control’s DataBind method. The expression inside <%= %> will be executed and displayed as and when it appears in the page.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.