-
Notifications
You must be signed in to change notification settings - Fork 0
/
Empchangepwd.aspx.cs
39 lines (36 loc) · 922 Bytes
/
Empchangepwd.aspx.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Business_Logic;
using DataAccess;
public partial class Empchangepwd : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnsubmit_Click(object sender, EventArgs e)
{
logic l = new logic();
l.uname = txtusername.Text;
l.upwd = txtOpassword.Text;
l.upwd1 = txtNpassword.Text;
l.updateepwd();
clearcontrols();
}
public void clearcontrols()
{
txtusername.Text = "";
txtNpassword.Text = "";
txtOpassword.Text = "";
txtCNpassword.Text = "";
}
}