连接类 class ADOConn { public: ADOConn(void); _ConnectionPtr m_pConnection; _RecordsetPtr meaningRecordset; public: ~ADOConn(void); void OnInitADOConn(); BOOL ExecuteSQL(_bstr_t bstrSQL); void ExitConnect(); public: _RecordsetPtr& GetRecordSet(_bstr_t bstrSQL); };