ADOMyRecordSet.h
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:1k
源码类别:

交通/航空行业

开发平台:

Visual C++

  1. // ADOMyRecordSet.h: interface for the CADOMyRecordSet class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_ADOMYRECORDSET_H__34403971_5E44_4DD0_8CFA_B4B0039B3580__INCLUDED_)
  5. #define AFX_ADOMYRECORDSET_H__34403971_5E44_4DD0_8CFA_B4B0039B3580__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CADOMyRecordSet
  10. {
  11. public:
  12. CADOMyRecordSet();
  13. virtual ~CADOMyRecordSet();
  14. public:
  15. _RecordsetPtr m_pRecordset;
  16. private:
  17. static CString m_strHabitus;
  18. public:
  19. void Open();
  20. void Open(CString strTableName,int nType=0);
  21. void Open(CString strTableName,CString str_sql);
  22. void AddVehicleConveyInfo( CReceDataFromBus *pReceBus,CString str_DriverName );
  23. void AddClientInfo(CString m_ClientName,
  24. CString str_ClientAge,
  25. CString str_ClientUnits,
  26. CString str_ClientDuty,
  27. CString str_ClientIDcard,
  28. CString str_ClientDrivelicence,
  29. CString str_ClientPhone,
  30. CString str_ClientPassword,
  31. CString str_CarNumber,
  32. CString str_CarType,
  33. CString str_CarColor,
  34. CString str_CarEngine,
  35. CString str_BatholithNo,
  36. CString str_CarPhone);
  37. CString GetDriverName( CReceDataFromBus *pReceBus);
  38. void DeleteAllInfo(CString strTableName,CString str_sql="");
  39. };
  40. #endif // !defined(AFX_ADOMYRECORDSET_H__34403971_5E44_4DD0_8CFA_B4B0039B3580__INCLUDED_)