What is the difference between <%#%> and <%=%>?

Answer Posted / archana

The <%= expressions are evaluated at render time
The <%# expressions are evaluated at DataBind() time and
are not evaluated at all if DataBind() is not called.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

603


What is skin in asp.net?

522


i want the asp.net technical questions and answeres

1610


Describe the events in the life cycle of a web application.

603


How can we prevent browser from caching an aspx page?

531






What are the advantages and disadvantages of Using Cookies?

519


How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.

5078


Explain what is viewstate?

545


What are the uses of reflection?

579


What is the server of asp.net?

514


What are directives in asp.net? List down all the important directives.

505


What are the components of ado.net?

537


What is http post action?

545


What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?

499


How long does an http session last?

531