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

Share on twitter
Share on facebook
Share on linkedin