⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 comment.cpp

📁 LTMS软件说明 软件名称:LTMS(Luinse Teaching Management System)
💻 CPP
字号:
// comment.cpp : implementation file
//

#include "stdafx.h"
#include "LMTS.h"
#include "comment.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// comment

IMPLEMENT_DYNAMIC(comment, CRecordset)

comment::comment(CDatabase* pdb)
	: CRecordset(pdb)
{
	//{{AFX_FIELD_INIT(comment)
	m_column1 = 0;
	m_send = _T("");
	m_content = _T("");
	m_receive = _T("");
	m_nFields = 4;
	//}}AFX_FIELD_INIT
	m_nDefaultType = snapshot;
}


CString comment::GetDefaultConnect()
{
	return _T("ODBC;DSN=LMTS");
}

CString comment::GetDefaultSQL()
{
	return _T("[comment]");
}

void comment::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(comment)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[编号]"), m_column1);
	RFX_Text(pFX, _T("[send]"), m_send);
	RFX_Text(pFX, _T("[content]"), m_content);
	RFX_Text(pFX, _T("[receive]"), m_receive);
	//}}AFX_FIELD_MAP
}

/////////////////////////////////////////////////////////////////////////////
// comment diagnostics

#ifdef _DEBUG
void comment::AssertValid() const
{
	CRecordset::AssertValid();
}

void comment::Dump(CDumpContext& dc) const
{
	CRecordset::Dump(dc);
}
#endif //_DEBUG

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -