Location:
Search - _ConnectionPtr
Search list
Description: HICON m_hIcon
_ConnectionPtr m_pCon //连接对象
_RecordsetPtr m_pRs //记录集对象
BOOL LoadDbSource(CString strSourceName,CString strSourceDb, CString strDescription)
// Generated message map functions
//{{AFX_MSG(CCodeCtrlOdbcDlg)
virtual BOOL OnInitDialog()
afx_msg void OnSysCommand(UINT nID, LPARAM lParam)
afx_msg void OnPaint()
afx_msg HCURSOR OnQueryDragIcon()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()-HICON m_hIcon _ConnectionPtr m_pCon / / Link Object _RecordsetPtr m_pRs / / BOOL record set targets LoadDbSou rce (redeem strSourceName. redeem strSourceDb. redeem strDescription) / / Generated message map functions / / ((AFX_MSG (CCodeCtrlOdbcDlg ) virtual BOOL OnInitDialog () afx_msg void OnS ysCommand (UINT nID. LPARAM lParam) afx_msg void OnPaint () afx_msg HCURSOR OnQueryDragIcon () / /)) AFX_MSG DECLA RE_MESSAGE_MAP ()
Platform: |
Size: 59558 |
Author: 穆菲 |
Hits:
Description: ADO数据库编程:1、 添加#import指令
2定义_ConnectionPtr型变量,并建立数据库连接3定义_RecordsetPtr型变量,并打开数据集4读取当前记录的数据5修改数据
6添加记录7删除记录-ADO database programming : 1. add # import directive definition _ConnectionPtr two variables, and the establishment of the database link definition _RecordsetPtr variables, and open the four data sets to read the data from the current five to add six amendments data recorded seven deleted records
Platform: |
Size: 27376 |
Author: 马彦 |
Hits:
Description: 这是114专业的数据库原理上机作业,控制台c++,ado+sqlsever
请依次输入 数据(针对student表格)库名, 用户名, 密码:
本例只针对students数据库,共三个表个:student,Course,SC.
本例为您封装了_ConnectionPtr m_pConnection,您只管在需要的
地方使用,不必管理维护。其他基础功能也有所安排
Platform: |
Size: 181858 |
Author: yejun |
Hits:
Description: m_pCommand->Execute(NULL,NULL, adCmdStoredProc)
(2)、直接用_ConnectionPtr直接调用(见4.(2))
6.遍历数据库中的所有表名 _ConnectionPtr m_pConnect
_RecordsetPtr pSet
HRESULT hr
try
{
hr = m_pConnect.CreateInstance("ADODB.Connection")
if(SUCCEEDED(hr))
{
-m_pCommand-
Platform: |
Size: 5524480 |
Author: zjm |
Hits:
Description: HICON m_hIcon
_ConnectionPtr m_pCon //连接对象
_RecordsetPtr m_pRs //记录集对象
BOOL LoadDbSource(CString strSourceName,CString strSourceDb, CString strDescription)
// Generated message map functions
//{{AFX_MSG(CCodeCtrlOdbcDlg)
virtual BOOL OnInitDialog()
afx_msg void OnSysCommand(UINT nID, LPARAM lParam)
afx_msg void OnPaint()
afx_msg HCURSOR OnQueryDragIcon()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()-HICON m_hIcon _ConnectionPtr m_pCon// Link Object _RecordsetPtr m_pRs// BOOL record set targets LoadDbSou rce (redeem strSourceName. redeem strSourceDb. redeem strDescription)// Generated message map functions// ((AFX_MSG (CCodeCtrlOdbcDlg ) virtual BOOL OnInitDialog () afx_msg void OnS ysCommand (UINT nID. LPARAM lParam) afx_msg void OnPaint () afx_msg HCURSOR OnQueryDragIcon ()//)) AFX_MSG DECLA RE_MESSAGE_MAP ()
Platform: |
Size: 59392 |
Author: 穆菲 |
Hits:
Description: ADO数据库编程:1、 添加#import指令
2定义_ConnectionPtr型变量,并建立数据库连接3定义_RecordsetPtr型变量,并打开数据集4读取当前记录的数据5修改数据
6添加记录7删除记录-ADO database programming : 1. add# import directive definition _ConnectionPtr two variables, and the establishment of the database link definition _RecordsetPtr variables, and open the four data sets to read the data from the current five to add six amendments data recorded seven deleted records
Platform: |
Size: 26624 |
Author: 马彦 |
Hits:
Description: 这是114专业的数据库原理上机作业,控制台c++,ado+sqlsever
请依次输入 数据(针对student表格)库名, 用户名, 密码:
本例只针对students数据库,共三个表个:student,Course,SC.
本例为您封装了_ConnectionPtr m_pConnection,您只管在需要的
地方使用,不必管理维护。其他基础功能也有所安排
-This is a database of 114 professionals on the principles of machine operation, the console c++, Ado+ Sqlsever Please order input data (for student tables) database name, user name, password: only for students in this case database table a total of three months : student, Course, SC. in this case for your package the _ConnectionPtr m_pConnection, you just need to place in use, do not have management and maintenance. Other basic features have also arranged
Platform: |
Size: 290816 |
Author: yejun |
Hits:
Description: VC++下使用ADO编写数据库程序(1)、引入ADO类(2)、初始化COM
(3)#import 包含后就可以用3个智能指针了:_ConnectionPtr、_RecordsetPtr和_CommandPtr-VC++ Prepared to use ADO database program (1), the introduction of ADO type (2), to initialize COM (3)# Import contains can be used after three pointer of the smart: _ConnectionPtr, _RecordsetPtr and _CommandPtr
Platform: |
Size: 3072 |
Author: 张三 |
Hits:
Description: 仓库管理系统 含源代码- #import "c:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename("EOF","adoEOF") rename("BOF","adoBOF")
class ADOConn
{
public:
_ConnectionPtr m_pConnection
_RecordsetPtr m_pRecordset public:
ADOConn()
virtual ~ADOConn()
void OnInitADOConn()
_RecordsetPtr& GetRecordSet(_bstr_t bstrSQL)
BOOL ExecuteSQL(_bstr_t bstrSQL) _variant_t
void ExitConnect()
void Backup()
void Restore()
Platform: |
Size: 252928 |
Author: 321 |
Hits:
Description: 过实例演示如何在VC++中使用ADO进行ACCESS数据库编程,并对涉及到的几个概念进行详细解释。本文不对ADO和ACCESS的基本概念进行详细解释,主要包括以下内容:
第一部分 ADO和ADOX到底是什么,二者的作用和区别建立数据库
第二部分 ADOX创建ACCESS数据库
第三部分 ADO创建ACCESS数据库的表
第四部分 使用_ConnectionPtr接口开发ACCESS数据库
第五部分 使用_RecordsetPtr接口开发ACCESS数据库
-Have examples demonstrate how to use VC++ to ACCESS Database Programming ADO, and involved a detailed explanation of several concepts. In this paper, ADO and ACCESS not the basic concepts explained in detail, including the following: the first part of ADO and ADOX in the end what is the difference between the two roles and the establishment of a database ADOX to create the second part of the third part of ACCESS database ADO database table to create ACCESS Part IV _ConnectionPtr interface using the fifth part of the development of ACCESS database interface developed using ACCESS database _RecordsetPtr
Platform: |
Size: 162816 |
Author: xutuan |
Hits:
Description: 通过实例演示如何在VC++中使用ADO进行ACCESS数据库编程,并对涉及到的几个概念进行详细解释。本文不对ADO和ACCESS的基本概念进行详细解释,主要包括以下内容:
第一部分 ADO和ADOX到底是什么,二者的作用和区别建立数据库
第二部分 ADOX创建ACCESS数据库
第三部分 ADO创建ACCESS数据库的表
第四部分 使用_ConnectionPtr接口开发ACCESS数据库
第五部分 使用_RecordsetPtr接口开发ACCESS数据库
-Demonstrate by example how to use VC++ to ACCESS Database Programming ADO, and involved a detailed explanation of several concepts. In this paper, ADO and ACCESS not the basic concepts explained in detail, including the following: the first part of ADO and ADOX in the end what is the difference between the two roles and the establishment of a database ADOX to create the second part of the third part of ACCESS database ADO database table to create ACCESS The fourth part of the development of the use of ACCESS database interface _ConnectionPtr Part V _RecordsetPtr interface developed using ACCESS database
Platform: |
Size: 26624 |
Author: 金流 |
Hits:
Description: 使用_ConnectionPtr接口开发ACCESS数据库,ADO。-_ConnectionPtr Interface developed using the ACCESS database, ADO.
Platform: |
Size: 2483200 |
Author: yuhaijun |
Hits:
Description: HICON m_hIcon _ConnectionPtr m_pCon 连接对象 _RecordsetPtr m_pRs-HICON m_hIcon _ConnectionPtr m_pCon connection object _RecordsetPtr m_pRs
Platform: |
Size: 54272 |
Author: conftsnt |
Hits:
Description: HICON m_hIcon _ConnectionPtr m_pCon 连接对象 _RecordsetPtr m_pRs-HICON m_hIcon _ConnectionPtr m_pCon connection object _RecordsetPtr m_pRs
Platform: |
Size: 54272 |
Author: stricg |
Hits:
Description: HICON m_hIcon _ConnectionPtr m_pCon 连接对象 _RecordsetPtr m_pRs-HICON m_hIcon _ConnectionPtr m_pCon connection object _RecordsetPtr m_pRs
Platform: |
Size: 54272 |
Author: Chpdfi |
Hits:
Description: HICON m_hIcon _ConnectionPtr m_pCon 连接对象 _RecordsetPtr m_pRs(HICON m_hIcon _ConnectionPtr m_pCon connection object _RecordsetPtr m_pRs)
Platform: |
Size: 73728 |
Author: qcooi%252B94317
|
Hits: