Defining types for personalization properties : Profile « Configuration « ASP.NET Tutorial






<configuration>
  <system.web>

     <profile>
        <properties>
            
           <add name="FirstName" type="System.String" />
           <add name="LastName" type="System.String" />
           <add name="LastVisited" type="System.DateTime" />
           <add name="Age" type="System.Integer" />
           <add name="Member" type="System.Boolean" />
            
        </properties>
    </profile>

    <authentication mode="Windows" />

  </system.web>
</configuration>








16.26.Profile
16.26.1.The Profile is defined in the web configuration file
16.26.2.Defining types for personalization properties
16.26.3.Creating personalization properties in the web.config file