V
vernal_chevy
Unregistered / Unconfirmed
GUEST, unregistred user!
ADOQuery1.Close;
ADOQuery1.SQL.Clear;
ADOQuery1.SQL.Add('update login set Password=sd where Name=:username');
ADOQuery1.Parameters[0].value:=Combobox1.Text;
ADOQuery1.Parameters[1].value:=Edit2.Text;
try
ADOQuery1.Prepared;
ADOQuery1.ExecSQL;
except
end;
执行到ADOQuery1.ExecSQL;时候,提示:update语句错误,
why??help me!!
ADOQuery1.SQL.Clear;
ADOQuery1.SQL.Add('update login set Password=sd where Name=:username');
ADOQuery1.Parameters[0].value:=Combobox1.Text;
ADOQuery1.Parameters[1].value:=Edit2.Text;
try
ADOQuery1.Prepared;
ADOQuery1.ExecSQL;
except
end;
执行到ADOQuery1.ExecSQL;时候,提示:update语句错误,
why??help me!!