What is this the <%$ syntax in ASP.net about? -
this question has answer here:
- asp.net <%$ … %> syntax 5 answers
for first time have come across asp.net syntax:
<%$ appsettings:valuefromconfig %>
or
<% $appsettings:valuex %>
what about? it's not application level code because dollar have caused issue. appears in ascx and/or aspx front end pages.
i found following:
the basic syntax of asp.net expression following:
<%$ expressionprefix: expressionvalue %>
the dollar sign ($) indicates asp.net expression follows. expression prefix defines type of expression, such appsettings, connectionstrings, or resources. following colon (:) actual expression value asp.net resolve.
expression syntax not bound specific .net language. can use same expression syntax whether use visual basic, c#, or other programming language in asp.net pages.
~ http://msdn.microsoft.com/en-us/library/d5bd1tad.aspx
this 1 of hardest questions search search engines ignore $ sign in question.
see also:
- introduction asp.net inline expressions in .net framework: http://support.microsoft.com/kb/976112
Comments
Post a Comment