Home > Database > Mysql Tutorial > body text

操作ACCESS数据库总结

WBOY
Release: 2016-06-07 15:42:42
Original
1140 people have browsed it

一 CDaoRecordset是DAO的,CRecordset是ODBC的, VC6.0都提供了一些编程接口。主要以下五种: 1.ODBCAPI; 2.MFCODBC类; 3.MFCDAO类;(数据访问对象) 4.MFC的OLE/DB; 5.ActiveX数据对象(ADO)。 二 rs.GetFieldValue(0co1); 和 rs.GetFieldValue((short)0,co

CDaoRecordset是DAO的,CRecordset是ODBC的,

VC++6.0都提供了一些编程接口。主要以下五种:
1.ODBC API;
2.MFC ODBC类;
3.MFC DAO类;(数据访问对象)
4.MFC的OLE/DB;

5.ActiveX数据对象(ADO)。

rs.GetFieldValue(0co1); 和rs.GetFieldValue((short)0,co1);不同的;

因为以下函数是重载函数:

void GetFieldValue(LPCTSTR lpszName, CString& strValue);
void GetFieldValue(short nIndex, CString& strValue);

三.access中like模糊查询 的条件是 a like ‘23*’;而在程序中写要细微 a like '23%',即标准SQL语法。



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!