L
ldaan3
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.Button3Click(Sender: TObject);
var
s:string;
begin
adoquery1.Close;
adoquery1.SQL.Clear;
s:='delete from an where a1=3333';
showmessage(s);
adoquery1.SQL.Add(s);
adoquery1.ExecSQL;
end;
语句执行没问题,不过执行后dbgrid里面什么数据都没有,
怎么显示啊?
var
s:string;
begin
adoquery1.Close;
adoquery1.SQL.Clear;
s:='delete from an where a1=3333';
showmessage(s);
adoquery1.SQL.Add(s);
adoquery1.ExecSQL;
end;
语句执行没问题,不过执行后dbgrid里面什么数据都没有,
怎么显示啊?