示例#1
0
        public bool Put(PsswordUpdate update)
        {
            ManageSQLConnection manageSQLConnection = new ManageSQLConnection();
            string Querystring = string.Empty;

            Querystring = "UPDATE profiles SET userpwd = '" + update.Pswd + "' WHERE userid = '" + update.UserId + "';";
            return(manageSQLConnection.UpdateValuesByQuery(Querystring));
        }