C++编程常用模块.docx

1(一):连接 SQL 数据库 一、连接数据库(SQL): (一)直接写在程序中1、导入动态连接库 在 StdAfx.h 中: #import C:\Program Files\Common Files\System\ado\msado15.dll no_namespace \ rename(EOF,adoEOF) rename(BOF,adoBOF) 2、定义Provider 宏 在 StdAfx.h 中: #define Provider Provider=SQLOLEDB.1;Integrated Security=SSPI;\ Persist Security Info=False;I

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档