Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

using Member Profile Builder and cannot save profile info

Posted on 2009-07-05
2
Medium Priority
?
240 Views
Last Modified: 2013-11-08
I have a very basic login web application that I am try to use profiles with.  I am using the Web Profile Builder since it is a Web Application rather than a Web Site.   I can retrieve and use the profile information but can't update or save any changes to the profile data.  

According to the documentation assigning to the Profile member such as
Profile.ClientNumber = TextBox1.Text

Should make the assignment,  but it is not saving any information.

What am I missing ?
0
Comment
Question by:dandnet
2 Comments
 
LVL 4

Accepted Solution

by:
mysteriousguy earned 200 total points
ID: 24783103
did you call the Save-Method?
var user = new WebProfile().GetProfile("User");
user.City = "New city";
user.Save();

Open in new window

0
 

Author Closing Comment

by:dandnet
ID: 31600014
Thanks that got me going in the right direction.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Integration Management Part 2
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question