Data.h
上传用户:thirty
上传日期:2007-01-08
资源大小:37k
文件大小:2k
源码类别:

串口编程

开发平台:

Visual C++

  1. #if !defined(AFX_DATA_H__98854745_EEE1_11D3_84B8_0080C866EAF1__INCLUDED_)
  2. #define AFX_DATA_H__98854745_EEE1_11D3_84B8_0080C866EAF1__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Data.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CData recordset
  10. class CData : public CRecordset
  11. {
  12. public:
  13. CData(CDatabase* pDatabase = NULL);
  14. DECLARE_DYNAMIC(CData)
  15. // Field/Param Data
  16. //{{AFX_FIELD(CData, CRecordset)
  17. CString m_Title;
  18. CString m_ISBN;
  19. CString m_Author;
  20. int m_Year_Published;
  21. CString m_Company_Name;
  22. long m_Au_ID;
  23. CString m_Author2;
  24. int m_Year_Born;
  25. CString m_HardCover;
  26. CString m_PaperBack;
  27. CString m_BlackWhite;
  28. CString m_Color;
  29. CString m_Grade1;
  30. CString m_Grade2;
  31. CString m_Grade3;
  32. CString m_Grade4;
  33. long m_PubID;
  34. CString m_Name;
  35. CString m_Company_Name2;
  36. CString m_Address;
  37. CString m_City;
  38. CString m_State;
  39. CString m_Zip;
  40. CString m_Telephone;
  41. CString m_Fax;
  42. CString m_Comments;
  43. CString m_ISBN2;
  44. long m_Au_ID2;
  45. CString m_Title2;
  46. int m_Year_Published2;
  47. CString m_ISBN3;
  48. long m_PubID2;
  49. CString m_Description;
  50. CString m_Notes;
  51. CString m_Subject;
  52. CString m_Comments2;
  53. CString m_Price;
  54. long m_Pages;
  55. //}}AFX_FIELD
  56. // Overrides
  57. // ClassWizard generated virtual function overrides
  58. //{{AFX_VIRTUAL(CData)
  59. public:
  60. virtual CString GetDefaultConnect();    // Default connection string
  61. virtual CString GetDefaultSQL();    // Default SQL for Recordset
  62. virtual void DoFieldExchange(CFieldExchange* pFX);  // RFX support
  63. //}}AFX_VIRTUAL
  64. // Implementation
  65. #ifdef _DEBUG
  66. virtual void AssertValid() const;
  67. virtual void Dump(CDumpContext& dc) const;
  68. #endif
  69. };
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  72. #endif // !defined(AFX_DATA_H__98854745_EEE1_11D3_84B8_0080C866EAF1__INCLUDED_)