TexasGirl2008
03-13-2009, 08:48 AM
Hi. Fairly new to using .aspx and JavaScript so hoping to get some help.
We are creating an intranet website that will allow users to enter registration information. Once complete the information entered into the form gets copied into an Access Database and an email is sent to the registrant as a confirmation.
One of the fields they are filling in is a password creation field. Another one is the email address field. What I need for this to do is if they enter in an email that is already used, I want it to spit out a message telling them the email address is already in use. So I need code or an example of code that will take what is entered into the field and query it against the database.
If they forget their password I would like for a separate form to take their name and email account and query the database to find their information. If it finds the information in the database I would like an email sent to the email address with their information.
I have the pages created and the database. I am just having problems figuring out how to query the data. Any help me please? We are using the following:
Visual Web Developer 2008, JavaScript, and C# with an MS Access database.
**Note: Since this is an Intranet site and the URL will only be shared with a select group of folks, the security concerns with the password information is not really an issue and the password will not allow them to do anything on the servers. This is mainly a tracking system and the passwords are used on a separate piece of hardware.
We are creating an intranet website that will allow users to enter registration information. Once complete the information entered into the form gets copied into an Access Database and an email is sent to the registrant as a confirmation.
One of the fields they are filling in is a password creation field. Another one is the email address field. What I need for this to do is if they enter in an email that is already used, I want it to spit out a message telling them the email address is already in use. So I need code or an example of code that will take what is entered into the field and query it against the database.
If they forget their password I would like for a separate form to take their name and email account and query the database to find their information. If it finds the information in the database I would like an email sent to the email address with their information.
I have the pages created and the database. I am just having problems figuring out how to query the data. Any help me please? We are using the following:
Visual Web Developer 2008, JavaScript, and C# with an MS Access database.
**Note: Since this is an Intranet site and the URL will only be shared with a select group of folks, the security concerns with the password information is not really an issue and the password will not allow them to do anything on the servers. This is mainly a tracking system and the passwords are used on a separate piece of hardware.