unitrescordset.cpp
来自「课程设计的简单Access学生数据库系统」· C++ 代码 · 共 32 行
CPP
32 行
// UnitRescordset.cpp: implementation of the UnitRescordset class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "SM.h"
#include "UnitRescordset.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
UnitRescordset::UnitRescordset()
{
pTable = new CDaoTableDef(&theDatabase);
pTable->Open("unit");
this->Open(pTable);
}
UnitRescordset::~UnitRescordset()
{
Close();
pTable->Close();
delete pTable;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?