Solved

How to populate textboxes in asp wizard step two with data from database based on userid entered in step 1

Posted on 2009-04-03
2
183 Views
Last Modified: 2013-11-07
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.
0
Comment
Question by:woodje
  • 2
2 Comments
 
LVL 41

Expert Comment

by:guru_sami
ID: 24063935
You can do that in OnNextButtonClick Event handler
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
0
 
LVL 41

Accepted Solution

by:
guru_sami earned 500 total points
ID: 24063971
or you can use OnActiveStepChange event handler as well

Check here: http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/standard/wizard.aspx
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now