public bool ChangePass(string newpass) { if (this.sdDTO.StudentID > 0) { StudentDAO s = new StudentDAO(sdDTO); if (s.ChangePassword(newpass) == true) { return(true); } return(false); } else { return(false); } }