Dynamic expression : Profile « Development « ASP.Net






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>  

 








Related examples in the same category

1.Demonstrates how to use the ASP.NET user profile
2.Profile Expression
3.Profile information