Profile ASP.Net Tutorial

<%@ Page Language="C#" %>

    protected void Button1_Click(object sender, EventArgs e)
    {
      if (Page.User.Identity.IsAuthenticated)
      {
        Profile.FirstName = TextBox1.Text;
        Profile.LastName = TextBox2.Text;
        Profile.Age = TextBox3.Text;
        Profile.Member = Radiobuttonlist1.SelectedItem.Text;
        Profile.LastVisited = DateTime.Now.ToString();
        Label1.Text = "Stored information includes:" +
           "First name: " + Profile.FirstName +
           "
Last name: " + Profile.LastName +
           "
Age: " + Profile.Age +
           "
Member: " + Profile.Member +
           "
Last visited: " + Profile.LastVisited;
      }
      else
      {
        Label1.Text = "You must be authenticated!";
      }
    }



    Storing Personalization


    
        First Name:
        
        Last Name:
        
        Age:
                 MaxLength="3">
        Are you a member?
        
            Yes
            No     
        
                    OnClick="Button1_Click" />
        
        >
        
    


File: Web.config