ClientinfoSet.h
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:2k
- #if !defined(AFX_CLIENTINFOSET_H__6952330F_49EF_4EDD_8D30_62438DA1CF01__INCLUDED_)
- #define AFX_CLIENTINFOSET_H__6952330F_49EF_4EDD_8D30_62438DA1CF01__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ClientinfoSet.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CClientinfoSet recordset
- #include <afxdb.h>
- class CClientinfoSet : public CRecordset
- {
- public:
- CClientinfoSet(CDatabase* pDatabase = NULL);
- DECLARE_DYNAMIC(CClientinfoSet)
- // Field/Param Data
- //{{AFX_FIELD(CClientinfoSet, CRecordset)
- long m_ID;
- CString m_ClientName;
- CString m_ClientAge;
- CString m_ClientUnits;
- CString m_ClientDuty;
- CString m_ClientIDcard;
- CString m_ClientDrivelicence;
- CString m_ClientPhone;
- CString m_ClientPassword;
- CString m_CarNumber;
- CString m_CarType;
- CString m_CarColor;
- CString m_CarEngine;
- CString m_BatholithNo;
- CString m_CarPhone;
- //}}AFX_FIELD
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CClientinfoSet)
- public:
- virtual CString GetDefaultConnect(); // Default connection string
- virtual CString GetDefaultSQL(); // Default SQL for Recordset
- virtual void DoFieldExchange(CFieldExchange* pFX); // RFX support
- //}}AFX_VIRTUAL
- // Implementation
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- public:
- CString GetPassword(CString strCarPhone);
- void FindClientinfo(CString strCarPhone, CString &strClientName, CString &strCarNumber);
- void FindCarNumberAndPhone(CString strItemText, CString &strCarNumber, CString &strCarPhone);
- void FindCarPhone(CString strItemText, CString &strCarPhone);
- void FindCarPswAndNO(CString strItemText,CString &strCarNO,CString &strCarPassword);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CLIENTINFOSET_H__6952330F_49EF_4EDD_8D30_62438DA1CF01__INCLUDED_)