2012年8月8日
摘要: CoInitialize(NULL); _ConnectionPtr pConn(__uuidof(Connection)); _RecordsetPtr pRst(__uuidof(Recordset)); _CommandPtr pCmd(__uuidof(Command)); pConn->ConnectionString="Provider=SQLOLEDB.1;Password=sa;Persist Security Info=True;User ID=sa;Initial Catalog=pubs"; pConn->Open("" 阅读全文
posted @ 2012-08-08 11:43 小菜鸟2011 阅读(160) 评论(0) 推荐(0)