我把dataset 实例化为ado的一个recordset
然后 dataset.connection:=cnn;
      dataset.commantext:='select * from table1';
      if dataset.recordcount<>1 then
               ...
为什么是错误的?请问,如何写才是正确的确?