必须添加数据源,默认帐号a密码1.
可以在数据库备份中修改
源代码在线查看: borrowdataset.h
#if !defined(AFX_BORROWDATASET_H__E68DD344_AD74_4DAE_9EFE_9E57D7787CA7__INCLUDED_)
#define AFX_BORROWDATASET_H__E68DD344_AD74_4DAE_9EFE_9E57D7787CA7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BorrowDataSet.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBorrowDataSet recordset
class CBorrowDataSet : public CRecordset
{
public:
CBorrowDataSet(CDatabase* pDatabase = NULL);
DECLARE_DYNAMIC(CBorrowDataSet)
// Field/Param Data
//{{AFX_FIELD(CBorrowDataSet, CRecordset)
CString m_READER_ID;
CString m_BOOK_ID;
CTime m_BORROW_DATE;
CString m_B_CLERK_ID;
long m_ID;
//}}AFX_FIELD
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBorrowDataSet)
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
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BORROWDATASET_H__E68DD344_AD74_4DAE_9EFE_9E57D7787CA7__INCLUDED_)