开发者

How to use the <%$ server code %> in Asp.net pages

I would like to know how to work with the

<%$  %> 

format in aspx pages开发者_运维技巧, as I see that it can be used in all kind of formats to insert server side values to controls. How does its called? And where can I please read about how to use it, and what are the format options in all kind of controls.

Thanks.


They are ASP.NET Expressions.

A very common usage is when using a resource file, like so

<asp:Label id="label1" runat="server" text="<%$ Resources: Messages, ThankYouLabel %>" />

Read more on them here: http://msdn.microsoft.com/en-us/library/d5bd1tad.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜