我把dataset 实例化为ado的一个recordset
然后 dataset.connection:=cnn;
dataset.commantext:='select * from table1';
if dataset.recordcount<>1 then
...
为什么是错误的?请问,如何写才是正确的确?
然后 dataset.connection:=cnn;
dataset.commantext:='select * from table1';
if dataset.recordcount<>1 then
...
为什么是错误的?请问,如何写才是正确的确?
解决方案 »
- delphi中两个页面调用问题.
- 推荐一本delphi网络开发好书,最好有电子的
- 请教: 三层系统中应用服务器程序和SOCKET SERVER的内存占用问题.
- 能否用SQL对ACCESS数据库进行备份为恢复?? 具体代码该如何写??
- Delphi怎么传入一个数组指针呢?
- 讨论三层结构中必须掌握的开发技术
- 求教有关两个ACCESS数据库间的数据导入问题?
- 问个简单的问题, 给推荐几本学DELHPI的书吧.急急急
- 新手求教,在线等待
- 如何改变toolbar中按钮的大小和位置?
- 用ClientDataSet给sybase asa8时间赋值 加不进去 ?有谁遇到过此问题吗? UP有分!
- 一个删除记录的难题,请高手来拿分
dataset:tadodataset;dataset:=tadodataset.create(self);
dataset.commandtype:=cmdtext;
dataset.connection:=cnn;
dataset.commantext:='select * from table1';
dataset.open;
if dataset.recordcount<>1 then