Solved

using Member Profile Builder and cannot save profile info

Posted on 2009-07-05
2
233 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 50 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

685 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