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
Who is using asp.net?
What is new asp.net core?
Can master pages be nested?
What is rich control in asp.net?
What is asp.net response object?
Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?
How to find out what version of asp.net I am using on my machine?
Difference between Response.redirect vs server.transfer?
Distinguish between Server-side and Client-side code?
What is the request flow used for asp.net mvc framework? : asp.net mvc
Explain difference between dataset and recordset?
What are session cookies?
Briefly describe the role of global.asax?
What is the difference between web config and machine config files?
How many types of controls are there in asp.net?