woodje
asked on
How to populate textboxes in asp wizard step two with data from database based on userid entered in step 1
I am using the asp wizard control to have a user enter their userid then goto step 2 here the user will have to answer two security questions. I believe I know how to verify the answers. What I need to understand is how to populate the textboxes in step two with data from a database table with the security questions for this user. Once this is done and verified the user is sent to the last step to reset their password. Can anyone show me an example of this or how this can be done. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
1: Get the ActiveStepIndex ...see if it is your second step
if yes...then fetch the info from the DB and populate the two Textboxes
The key is OnNextButtonClick
e.g.
http://www.beansoftware.com/ASP.NET-Tutorials/Wizard-Control-ASP.Net-2.0.aspx
http://www.4guysfromrolla.com/articles/061406-1.aspx