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
How many types of Cookies are available in ASP.NET?
What is the mvc framework?
What is windows active directory authentication?
How can you implement the postback property of an asp.net control?
What are validator? Name the validation controls in asp.net?
What is content page in asp net?
How to register exception filter globally?
What are sessions in asp net?
What is difference between Fragment Caching and Page Caching in ASP.NET?
What is the default timeout for a cookie?
What does aspcompat="true" mean?
What is the used of "ispostback" property?
To get the values in two different controls to match which control you use it?
What is a swagger in web api?
What is a page life cycle?