Author: medo75 | Posted on: 2/19/2007 4:21:47 PM | Views : 799

i have the following error when i try to update user information

here 's the code


MembershipUser user = Membership.GetUser(txtSelectedUserName.Text);

if (user != null)
{


if (user.ChangePassword(txtOldPassword.Text, txtNewPassword.Text))
{


if (user.ChangePasswordQuestionAndAnswer(
txtNewPassword.Text, txtNewPasswordQuestion.Text, txtNewPasswordAnswer.Text))

{

lblStatus.Text =
"Success!";
}


else
{

lblStatus.Text =
Go to the complete details ...