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 asp.net ajax?
How can u debug your .net application?
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
What are the Types of object in asp
Is react a template engine?
What does ascx stand for?
What is a page life cycle?
Define static member?
What is application and session in asp.net?
Explain what are webservices?
What is query string?
Explain the steps to be followed to use passport authentication.
Is sql backend or frontend?
If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?
Why we go for mvc instead of asp.net? : Asp.Net MVC