SQL SERVER从入门到精通的18章VC++ Myhotel数据库连接如何修改成局域网数据库
m_pConnection->Open("Provider=SQLOLEDB.1;Server=192.168.1.6;DATABASE=myhotel;UID=sa;PWD=;","","",adModeUnknown);