Wednesday, June 15, 2011

How to use ASP.NET Expression to set property in server control?


ASP.NET expressions are a declarative way set control properties based on information that is evaluated at run time.
<asp:Label id="label1" runat="server" text="<%$ Resources: Messages, ThankYouLabel %>" />
<asp:Literal runat="server" text="<%$ AppSettings: copyright %>"/>




No comments:

Post a Comment