第二个参数在MSDN里没找到具体用法
下面是MSDN里的用法:想问下这个adCmdText的详细用法在哪里查询到
A bitmask which can specify a combination of the values listed below. Some of these are mutually exclusive. The default value is none.
CRecordset::none No options set. This parameter value is mutually exclusive with all other values. By default, the recordset can be updated with Edit or Delete and allows appending new records with AddNew. Updatability depends on the data source as well as on the nOpenType option you specify. Optimization for bulk additions is not available. Bulk row fetching will not be implemented. Deleted records will not be skipped during recordset navigation. Bookmarks are not available. Automatic dirty field checking is implemented
adCmdText说白了就是使用sql语句作为第一个参数。
我说的不是sql 语句,说的adcmdtext是作者是怎么知道有这种用法的 msdn里没有这个参数的用法的说明
http://vdisk.weibo.com/s/yXEYaMABlgqOP
http://down.51cto.com/data/70531/
http://www.jb51.net/books/27952.html