public string ChangePwd(string UserCode, string NewPwd) { var Result = LoginDataAccess.ChangePwd(UserCode, NewPwd); if (Result == "0") { return("您输入的用户名不存在"); } else if (Result == "1") { return("OK"); } else { return(Result); } }
public string ChangePwd(string UserCode, string NewPwd) { var Result = LoginDataAccess.ChangePwd(UserCode, NewPwd); if (Result == "0") { return("您输入的用户名不存在"); } else if (Result == "1") { return("OK"); } else { return(Result); } }