The name "FirstName" does not exist in the current context
Following example on page 767-768, listing 16-8 using personalisation properties with the createuserwizard control.
I've added three textboexs to the CreateUserWizard template, Firstname, Lastname and Age.
I am unable to access the three textbox controls in my web.config.
As perexample on page 768.
ProfileCommon pc = new ProfileCommon();
pc.Initialise(CreateUserWizard1.UserName.ToString( ), true);
pc.FirstName = Firstname.Text;
Debugging this code returns the following error: The name "Firstname" does not exist in the current context.
I appreciate your input.
TIA
Mark
|