我这样写
clientdataset1.close;
clientdataset1.command.text:='select * from table1 where aa<100';
clientdataset1.open;
却提示commandtext不接纳sql语句不知是为什么?
clientdataset1.close;
clientdataset1.command.text:='select * from table1 where aa<100';
clientdataset1.open;
却提示commandtext不接纳sql语句不知是为什么?
解决方案 »
- delphi如何调用dll文件中的exe
- 抓音频的问题,mmtools中的MMWaveIn用不出来,求救!!!
- 还是同一个程序改成的Delphi的(100分)
- 一个image控件,已经load了一张图片了,现在我想不让这样图片显示了,该怎么做?
- 通过以下程序可以取得其它应用程序中的Tedit控件的内容.但是,如何取label的内容的?
- dbgrid1.DragMode=dmAutomatic时,DBGrid1CellClick和DBGrid1MouseDown中写的程序为什么不执行?
- 急!100分!在学校的机器上运行出现not a valid alias name,而在家里的机器上运行正常!
- 如何转换?
- 哪位在Access中用过图片格式?
- 招DELPHI程序员提供实习机会
- 如何在DBGRID或在STRINGGRID中动态创建小按钮及释放?
- wuyan
2.用TSqlClientDataSet代替
Sqlclientdataset1.close;
Sqlclientdataset1.commandtext:='select * from table1 where aa<100';
Sqlclientdataset1.active:=true;