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

📄 c11.cpp

📁 学生成绩管理系统
💻 CPP
字号:
// c11.cpp : implementation file
//

#include "stdafx.h"
#include "mystudent.h"
#include "c11.h"

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

/////////////////////////////////////////////////////////////////////////////
// c11

IMPLEMENT_DYNAMIC(c11, CRecordset)

c11::c11(CDatabase* pdb)
	: CRecordset(pdb)
{
	//{{AFX_FIELD_INIT(c11)
	m_column1 = 0;
	m_Temp_ID = 0;
	m_Temperature = 0;
	m_reserve = _T("");
	m_nFields = 5;
	//}}AFX_FIELD_INIT
	m_nDefaultType = snapshot;
}


CString c11::GetDefaultConnect()
{
	return _T("ODBC;DSN=temp");
}

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

void c11::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(c11)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[编号]"), m_column1);
	RFX_Long(pFX, _T("[Temp_ID]"), m_Temp_ID);
	RFX_Long(pFX, _T("[Temperature]"), m_Temperature);
	RFX_Date(pFX, _T("[collecttime]"), m_collecttime);
	RFX_Text(pFX, _T("[reserve]"), m_reserve);
	//}}AFX_FIELD_MAP
}

/////////////////////////////////////////////////////////////////////////////
// c11 diagnostics

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

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

⌨️ 快捷键说明

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