Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how can write code for change password code with asp.net using ado.net and sql server?
Posted

What have you tried? Did you at least Google to get started if you don't really know how to code that?
You will get answer to specific issues here. So rather than saying "How to do this", show you tried something and something didn't work and we will try to help you out with the issue.

Here is Google search result for - change password asp.net[^]. Good place to start.
 
Share this answer
 
Comments
Sasikala Gurusamy 26-Nov-12 1:37am    
how can i change password in aspx page? after changing the password it ll be stored in database..?
Hi,
If you are using ASP.NET Membership for authentication you can use following code to change password :
MembershipUser user = Membership.GetUser(User. Identity. Name);
user.ChangePassword("Old password, New password");

Reference : msdn.microsoft.com/en-us/library/system.web.security.membershipuser.changepassword.aspx

Useful links for configuring ASP.NET Membership :
idpkshr.wordpress.com/2012/02/05/how-to-configure-asp-net-membership-using-sqlmembershipprovider/

www.asp.net/web-forms/tutorials/security/membership/creating-the-membership-schema-in-sql-server-cs
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900