A
ahmet
Hi,I have a problem with asp.net 2.0 membership. I have to create a profile
for a new user but I can't. There is my code. this code has not an error
but don't save profile a new user. How can i do
Age =
((TextBox)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("txtAge")).Text;
Country =
((DropDownList)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("slSehirler")).SelectedValue;
ProfileCommon profile =
(ProfileCommon)ProfileCommon.Create(CreateUserWizard1.UserName,true);
profile.Age = Age;
profile.Country = Country;
profile.Save();
for a new user but I can't. There is my code. this code has not an error
but don't save profile a new user. How can i do
Age =
((TextBox)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("txtAge")).Text;
Country =
((DropDownList)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("slSehirler")).SelectedValue;
ProfileCommon profile =
(ProfileCommon)ProfileCommon.Create(CreateUserWizard1.UserName,true);
profile.Age = Age;
profile.Country = Country;
profile.Save();