Link to home
Start Free TrialLog in
Avatar of AJ0424
AJ0424

asked on

CreateUserWizard - Custom Wizard Step Input into Stored Proc - How to Bind New TxtBoxes (C#)

Hi,

I am using the asp 2.0 Website Administration Tool to control user administration and I am using the createuserwizard to add new members into my site.  I want to have a custom wizard step that allows me to input user detail information (First Name, Last Name, Company, Phone Number).  I have a SQL 2005 table that this information should be entered into and an input stored proc to do the work.

 Where I am stuck: I have seen a bunch of examples ( including http://aspnet.4guysfromrolla.com/articles/070506-1.aspx) that do everything in the source code, including some inline sql.  I cannot do this.  I need to handle everything that can be through the wizard tool itself and/or C# code behind.  I have the step created, which includes the four labes and text boxes as well as the object data source, but I do not know how to bind the txt boxes to the data source.  I am new and having a hard time doing this without an example.

 Can anyone help?

Thanks,

SOLUTION
Avatar of Marcus Keustermans
Marcus Keustermans
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AJ0424
AJ0424

ASKER

Thank you keustermans.  I will look at this tonight and see if I can make it work.

AJ
Avatar of AJ0424

ASKER

Hi...the problem I am having isn't connecting to the database, it is getting the user input out of the textboxes in this wizard.  I need to collect the entered data - example:

John
Smith
ABC Company
333-555-1212

and then send that info back as the parameters for my stored proc.  I just don't know how to pull it out of the createuser wizard.

Thanks,
AJ
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial