public bool changePass(String newPass) { this.pwd = newPass; bool result = false; DBaction db = new DBaction(); result = (db.ChangePassword(this.opCode, newPass) > 0)?true:false; db.Close(); return(result); }