出现下面错误。
adoquery1:commandtext does not return a result set代码是 adoquery1.Close;
adoquery1.SQL.Clear;
adoquery1.SQL.add('insert into book(Bno,Bname,Bauthor,Binputtime,Bnum) values('+quotedstr(edit2.Text)+','+quotedstr(edit3.Text)+','+quotedstr(edit4.Text)+','+datetostr(datetimepicker1.date)+','+quotedstr(edit5.Text)+');');
showmessage(adoquery1.SQL.Text);
adoquery1.Open;在其他地方也出现问题。。不知道为什么。。
adoquery1:commandtext does not return a result set代码是 adoquery1.Close;
adoquery1.SQL.Clear;
adoquery1.SQL.add('insert into book(Bno,Bname,Bauthor,Binputtime,Bnum) values('+quotedstr(edit2.Text)+','+quotedstr(edit3.Text)+','+quotedstr(edit4.Text)+','+datetostr(datetimepicker1.date)+','+quotedstr(edit5.Text)+');');
showmessage(adoquery1.SQL.Text);
adoquery1.Open;在其他地方也出现问题。。不知道为什么。。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货