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

交通/航空行业

开发平台:

Visual C++

  1. #if !defined(AFX_CLIENTINFOSET_H__6952330F_49EF_4EDD_8D30_62438DA1CF01__INCLUDED_)
  2. #define AFX_CLIENTINFOSET_H__6952330F_49EF_4EDD_8D30_62438DA1CF01__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ClientinfoSet.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CClientinfoSet recordset
  10. #include <afxdb.h>
  11. class CClientinfoSet : public CRecordset
  12. {
  13. public:
  14. CClientinfoSet(CDatabase* pDatabase = NULL);
  15. DECLARE_DYNAMIC(CClientinfoSet)
  16. // Field/Param Data
  17. //{{AFX_FIELD(CClientinfoSet, CRecordset)
  18. long m_ID;
  19. CString m_ClientName;
  20. CString m_ClientAge;
  21. CString m_ClientUnits;
  22. CString m_ClientDuty;
  23. CString m_ClientIDcard;
  24. CString m_ClientDrivelicence;
  25. CString m_ClientPhone;
  26. CString m_ClientPassword;
  27. CString m_CarNumber;
  28. CString m_CarType;
  29. CString m_CarColor;
  30. CString m_CarEngine;
  31. CString m_BatholithNo;
  32. CString m_CarPhone;
  33. //}}AFX_FIELD
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CClientinfoSet)
  37. public:
  38. virtual CString GetDefaultConnect();    // Default connection string
  39. virtual CString GetDefaultSQL();    // Default SQL for Recordset
  40. virtual void DoFieldExchange(CFieldExchange* pFX);  // RFX support
  41. //}}AFX_VIRTUAL
  42. // Implementation
  43. #ifdef _DEBUG
  44. virtual void AssertValid() const;
  45. virtual void Dump(CDumpContext& dc) const;
  46. #endif
  47. public:
  48. CString GetPassword(CString strCarPhone);
  49. void FindClientinfo(CString strCarPhone, CString &strClientName, CString &strCarNumber);
  50. void FindCarNumberAndPhone(CString strItemText, CString &strCarNumber, CString &strCarPhone);
  51. void FindCarPhone(CString strItemText, CString &strCarPhone);
  52. void FindCarPswAndNO(CString strItemText,CString &strCarNO,CString &strCarPassword);
  53. };
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_CLIENTINFOSET_H__6952330F_49EF_4EDD_8D30_62438DA1CF01__INCLUDED_)