📄 dlgpull.cpp
字号:
// DlgPull.cpp : implementation file
//
#include "stdafx.h"
#include "RDAPush.h"
#include "DlgPull.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgPull dialog
CDlgPull::CDlgPull(CWnd* pParent /*=NULL*/)
: CDialog(CDlgPull::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgPull)
m_tracking = _T("");
m_connectStr = _T("provider=sqloledb; data source=sephenye;Initial Catalog=dbtest; user id=yej;password=820228");
m_errorTableName = _T("tblErrors");
m_internetPassword = _T("");
m_internetURL = _T("http://sephenye/sqlce/sscesa20.dll");
m_internetUsername = _T("");
m_localConnectStr = _T("Provider=microsoft.sqlserver.oledb.ce.2.0; Data Source=\\My Documents\\myDB.sdf");
m_localTableName = _T("students");
m_queryStr = _T("select * from students");
//}}AFX_DATA_INIT
}
void CDlgPull::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgPull)
DDX_CBString(pDX, IDC_CMBTRACKING, m_tracking);
DDX_Text(pDX, IDC_CONNECTSTR, m_connectStr);
DDX_Text(pDX, IDC_ERRORTABLENAME, m_errorTableName);
DDX_Text(pDX, IDC_INTERNETPASSWORD, m_internetPassword);
DDX_Text(pDX, IDC_INTERNETURL, m_internetURL);
DDX_Text(pDX, IDC_INTERNETUSERNAME, m_internetUsername);
DDX_Text(pDX, IDC_LOCALCONNECTSTR, m_localConnectStr);
DDX_Text(pDX, IDC_LOCALTABLENAME, m_localTableName);
DDX_Text(pDX, IDC_SEARCHSQL, m_queryStr);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgPull, CDialog)
//{{AFX_MSG_MAP(CDlgPull)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgPull message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -