Author: svetsarn | Posted on: 10/4/2010 9:33:30 PM | Views : 408

I have this code and I'm logged in to the site. Now I want to update my email, but that will not work. Alla other properties are updateed, but not my email. Any ideas why? ProfileWrapper.cs private string firstName, lastName, address, zipCode, city, phone, cellPhone, eMail; public string Email { get { return eMail; } set { eMail = value; } } public ProfileWrapper() { ProfileCommon profile = HttpContext.Current.Profile as ProfileCommon; firstName = profile.FirstName; lastName = profile.LastName; address = profile.Address; zipCode = profile.ZipCode; city = profile.City; phone = profile.Phone; cellPhone = profile.CellPhone; newsLetter = profile.NewsLetter; wantSms = profile.WantSms; eMail = Membership.GetUser(profile.UserName).Email; } ...

Go to the complete details ...