Mega Code Archive

 
Categories / ASP.Net / Development
 

Dynamic expression

<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server">     <title>Untitled Page</title> </head> <body>     <form id="form1" runat="server">     <div>     <asp:Label runat="server" id="Label1" Text="<%$ AppSettings:AppVersionNumber %>" />     </div>     </form> </body> </html> File: <?xml version="1.0"?> <configuration>   <appSettings>     <add key="AppVersionNumber" value="8.2.2001"/>   </appSettings> </configuration>