ADOMyRecordSet.h
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:1k
- // ADOMyRecordSet.h: interface for the CADOMyRecordSet class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_ADOMYRECORDSET_H__34403971_5E44_4DD0_8CFA_B4B0039B3580__INCLUDED_)
- #define AFX_ADOMYRECORDSET_H__34403971_5E44_4DD0_8CFA_B4B0039B3580__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CADOMyRecordSet
- {
- public:
- CADOMyRecordSet();
- virtual ~CADOMyRecordSet();
- public:
- _RecordsetPtr m_pRecordset;
- private:
- static CString m_strHabitus;
- public:
- void Open();
- void Open(CString strTableName,int nType=0);
- void Open(CString strTableName,CString str_sql);
- void AddVehicleConveyInfo( CReceDataFromBus *pReceBus,CString str_DriverName );
- void AddClientInfo(CString m_ClientName,
- CString str_ClientAge,
- CString str_ClientUnits,
- CString str_ClientDuty,
- CString str_ClientIDcard,
- CString str_ClientDrivelicence,
- CString str_ClientPhone,
- CString str_ClientPassword,
- CString str_CarNumber,
- CString str_CarType,
- CString str_CarColor,
- CString str_CarEngine,
- CString str_BatholithNo,
- CString str_CarPhone);
- CString GetDriverName( CReceDataFromBus *pReceBus);
- void DeleteAllInfo(CString strTableName,CString str_sql="");
- };
- #endif // !defined(AFX_ADOMYRECORDSET_H__34403971_5E44_4DD0_8CFA_B4B0039B3580__INCLUDED_)