Saved Bookmarks
| 1. |
What Is The Different Between <%# %> And <%= %>? |
|
Answer» 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. 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. |
|