What is the difference between <%#%> and <%=%>?
Answer Posted / amit kumar
<%# %> is used for databinding
like <%#Eval("id") %>OR <%#Bind("id") %>
<%=%> is used only for printing something
like <%= DateTime.Now.ToString()%>
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is masterpage?
What is meant by asp.net?
What is the difference between a multi-layer and multi-tier applications?
What is difference between viewstate and session state in javascript?
What is fulltrust?
Why viewstate is used in asp.net?
How can we create Tree control in asp.net?
What asp.net control can embed xaml into asp.net pages?
What is session management in web application?
Do you know caching feature?
Explain the main differences between asp and asp.net?
What are the advantages of the code-behind feature?
Can you dynamically assign a Master Page?
Do I need to have the latest version of windows media player installed?
Explain how do you deploy your asp.net application?