コード例 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Request.IsAuthenticated)
     {
         if (user == null)
         {
             user = new UserFull(Membership.GetUser());
         }
         UserName = user.Login;
         Email    = user.Email;
         user.LoadNotifications();
         NotifyRepeater.DataSource = user.Notifications;
         NotifyRepeater.DataBind();
     }
 }