使用C ++/VC ++的数据库连接 [英] Database connection using C++/VC++

查看:70
本文介绍了使用C ++/VC ++的数据库连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我需要通过以下操作进行数据库连接的示例应用程序,
1]连接到DB
2]从EMP表中获取数据
3]设置EMP表的数据

Hello,

I need sample application for DataBase connection with below operations,
1] Connect to DB
2] Get data from EMP table
3] Set data for EMP table

Could you please help me out.

推荐答案

您是否尝试过使用Google来搜索
以下代码文章可能会为您提供帮助.
1)用于连接
使用Visual C ++和OLE DB开发数据库:建立连接 [ ADO连接字符串 [从C ++使用ADO [
Have you tried google for this
Following articles of code prject may help you.
1)for connection
Database Development using Visual C++ and OLE DB: Establishing the connection[^]
2)for connction string
ADO Connection Strings[^]
And this is too for getting data from database
Using ADO from C++[^]


这篇关于使用C ++/VC ++的数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆