Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6916955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:40:09+00:00 2026-05-27T09:40:09+00:00

I’m working on a website using VB (ASP.NET) I want to implement a password

  • 0

I’m working on a website using VB (ASP.NET)

I want to implement a password recovery code without using the controls in asp.net

I didn’t use ASP.Net Membership for logging in, I have MSSQL database with USER table

What I really I need is:

when the user forget his/her password, he/she enters the email then press a button to submit, then I have to find this email in the user table, retrieve the user name and password, generate new a random password, update the password with the new generated one, and finally send an email to the user with the username and the new generated password.

How can I do that ?
Please help me
Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:40:09+00:00Added an answer on May 27, 2026 at 9:40 am
    • when the user forget his/her password, he/she enters the email then
      press a button to submit

      Create a WebForm, with two <asp:textbox/> and a <asp:button/>, wire up the button’s OnClick event

    • then I have to find this email in the user
      table, retrieve the user name and password

      Use ADO.NET to query the database using the form values posted

      Retrieving Data Using a DataReader (ADO.NET)

    • generate new a random
      password

      Search Google for a good random password generator

    • update the password with the new generated one

      Use ADO.NET to connect to the db and execute an update statement with SqlCommand.ExecuteNonQuery

    • send an email to the user with the username and the new generated
      password

      Use System.Net.Mail to send an email

      Sending Email with System.Net.Mail

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an ASP.NET website where I am using an asp:repeater with paging
I'm working with an asp.net website using C# in the background. I would like
I am using MS VS 2010, and working on an ASP.NET C# website. I
Currently I'm working on a reporting website in VS 2010 using ASP.Net 4.0 and
I want to run my .sql script file using my ASP.NET website through ADO.NET.
I am working on website using ASP.Net C# WebForms Framework 3.5 I am using
I want to configure ASP.NET Website Project using WCF Service[NetTcp] (both in c#) for
I'm working on a website using extensively javascript. The code I'm working on also
I want all of the validators in an ASP.Net 3.5 website to have a
Im working on asp.net website. In some pages I'm saving the datatable into chache

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.