cmd.CommandText = "Select * From {Users} Where [Name] = '" & UserName & "'"
cmd.CommandText = cmd.CommandText & "', [Password] = '" & Password & "' Where [Name]= '" & OldUserName & "'"
加起来的意思就是
"Select * From {Users} Where [Name] = '" & UserName & "'" & "', [Password] = '" & Password & "' Where [Name]= '" & OldUserName & "'"
这是什么东东?
"UPDATE {Users} SET Password = '" & Password & "' WHERE [Name]= '" & OldUserName & "'"