Click here to Skip to main content
15,908,437 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
plz can anybody explain the difference between the follow i am new in asp.net


<%= DateTime.Now %>;

<%$ ConnectionStrings:LearnerTutiorConnectionString1 %>;

<%# DateTime.Now%>;

purpose of =,$ and # after % sign?
Posted
Comments
Sergey Alexandrovich Kryukov 20-Apr-13 21:14pm    
What's your problem, just the ability to read some documentation?
—SA

1 solution

<%$ - resource access
<%= - explicit output to page
<%# - data binding
Refer Answer 3 in following link
http://stackoverflow.com/questions/115159/when-should-i-use-and-in-asp-net-controls[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900