protected void btnChange_Click(object sender, EventArgs e) { bool done = EmployeeDAL.ChangePassword( Session["employeeid"].ToString(), txtOldPassword.Text, txtNewPassword.Text); if (done) { lblMsg.Text = "Password Changed Successfully!"; } else { lblMsg.Text = "Sorry! Could not change password! "; } }