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

📄 landetectset.cpp

📁 ARP test mode. According to the idea we design the arithmetic for the key part, first the system sen
💻 CPP
字号:
// LANDetectSet.cpp : implementation of the CLANDetectSet class
//

#include "stdafx.h"
#include "LANDetect.h"
#include "LANDetectSet.h"

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

/////////////////////////////////////////////////////////////////////////////
// CLANDetectSet implementation

IMPLEMENT_DYNAMIC(CLANDetectSet, CRecordset)

CLANDetectSet::CLANDetectSet(CDatabase* pdb)
	: CRecordset(pdb)
{
	//{{AFX_FIELD_INIT(CLANDetectSet)
	m_Mname = _T("");
	m_Pwd = _T("");
	m_nFields = 2;
	//}}AFX_FIELD_INIT
	m_nDefaultType = snapshot;
}

CString CLANDetectSet::GetDefaultConnect()
{
	return _T("ODBC;DSN=LANDetect");
}

CString CLANDetectSet::GetDefaultSQL()
{
	return _T("[dbo].[MUser],[dbo].[Record]");
}

void CLANDetectSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CLANDetectSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Text(pFX, _T("[Mname]"), m_Mname);
	RFX_Text(pFX, _T("[Pwd]"), m_Pwd);
	//}}AFX_FIELD_MAP
}

/////////////////////////////////////////////////////////////////////////////
// CLANDetectSet diagnostics

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

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

⌨️ 快捷键说明

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