Click here to Skip to main content
15,897,334 members
Articles / Desktop Programming / MFC

ADO at a Glance

Rate me:
Please Sign up or sign in to vote.
4.70/5 (66 votes)
10 Jun 2001CPOL10 min read 450.6K   8.6K   130  
A simple introduction to using ADO
// StoredProcDlg.cpp : implementation file
//

#include "stdafx.h"
#include "ADOTest.h"
#include "StoredProcDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CStoredProcDlg dialog


CStoredProcDlg::CStoredProcDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CStoredProcDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CStoredProcDlg)
	m_strSCN = _T("");
	//}}AFX_DATA_INIT
}


void CStoredProcDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CStoredProcDlg)
	DDX_Text(pDX, IDC_EDIT1, m_strSCN);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CStoredProcDlg, CDialog)
	//{{AFX_MSG_MAP(CStoredProcDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CStoredProcDlg message handlers

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
I'm a VC++ programmer working in different fields varying from realtime telecommunication softwares to database applications and component based applications.

Comments and Discussions