XiaoHui
管理员
  
UID 2
精华
1
积分 4861
帖子 4851
阅读权限 200
注册 2001-1-23 来自 猎户星座
状态 离线
|
注意看 MSDN 的文档说明:
QUOTE: ExecuteSQL does not return data records. If you want to operate on records, use a recordset object instead
Most of your commands for a data source are issued through recordset objects, which support commands for selecting data, inserting new records, deleting records, and editing records. However, not all ODBC functionality is directly supported by the database classes, so you may at times need to make a direct SQL call with ExecuteSQL. ExecuteSQL 不提供记录返回。如果你要操作记录,使用 CRecordset。
|  飞往猎户星座.... |
|