时间:2021-07-01 10:21:17 帮助过:29人阅读
_bstr_t strConnect = "Provider=SQLOLEDB; Server=127.0.0.1,1433;Database=aa; uid=aa; pwd=bb";
HRESULT hr = m_pConnection->Open(strConnect,"","",adModeUnknown);//NULL、adConnectUnspecified、//建立与服务器连接
本文出自 “遥感应用与开发” 博客,请务必保留此出处http://remotesensing.blog.51cto.com/873347/1693785
SQL server数据库连接问题汇总
标签:数据库连接 microsoft server 字符串 127.0.0.1