Can someone help me...
how do I implement change password firstly it checks old password matches and then update new password in database in asp.net Using entity Framework..
below is my design code..
- <div class="col-md-12 col-sm-12 col-xs-12 user-login-box">
- <table class="style1">
- <tr>
- <td>Current Password:</td>
- <td>
- <asp:TextBox ID="TxtCrntPswd" runat="server"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <td>New Password:</td>
- <td>
- <asp:TextBox ID="TxtNwPswd" runat="server"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <td>Confirm New Password:</td>
- <td>
- <asp:TextBox ID="TxtCnPswd" runat="server"></asp:TextBox>
- </td>
- </tr>
- </table>
- </div>
- <asp:Button ID="BtnPswd" runat="server" Text="Save" OnClick="BtnPswd_Click" />
- <asp:Label ID="lbl_msg" Font-Bold="True" BackColor="#FFFF66" ForeColor="#FF3300" runat="server" Text=""></asp:Label><br /><br />
- <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Profile.aspx">Login</asp:HyperLink>
- </div>
- </div>