D
dopro
Unregistered / Unconfirmed
GUEST, unregistred user!
你将语句写成如下:
sqlstring:='select * from password where username=:user and password=ass'
with query1 do
begin
close;
sql.clear;
sql.add(sqlstring);
params[0].asstring:=Trim(Edit1.Text);
params[1].asstring:=Trim(Edit2.Text);
prapare;
open;
end;
sqlstring:='select * from password where username=:user and password=ass'
with query1 do
begin
close;
sql.clear;
sql.add(sqlstring);
params[0].asstring:=Trim(Edit1.Text);
params[1].asstring:=Trim(Edit2.Text);
prapare;
open;
end;