将C ++控制台连接到SQL数据库? [英] Connecting C++ Console to SQL Database ?

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

问题描述

再次问好,
我在使用sql api的时候就使用了C ++,并且我可以成功地将控制台与数据库连接,但是无法将控制台数据导出到sqlsever数据库,
我的程序示例:我的程序在两个不同的列表中生成了不同的名称和电话号码,并且我一次要选择一个名称和一个号码并发送到数据库.有人可以帮助我提供代码或任何好的建议,或者任何可以帮助我的链接?


/感谢
提前
adios.

Hello Again,
I hab used sql api for c++ for the ist time and i could successfully connect the console with the database but i couldnot export console data to sqlsever database,
lemme gib u example of my program: my program generates different names and phone numbers in two different list and i hab to select one name and one number at time and send to database.can anyone help me with the code or any good suggestions,or any links that could help me?


/thanks
In advance
adios.

推荐答案

看看数据访问(C ++) [ ^ ],MSDN文章,并获取更多信息
Have a look on Data Access (C++)[^], MSDN article, and get more information here[^]


请查看以下链接:
http://www.cplusplus.com/forum/windows/76263/ [ http://www.nairaland.com/269672/c-console-database [ ^ ]
http://www.dreamincode.net/forums/topic/100725-c-console-database / [^ ]
http://stackoverflow.com/questions/10458705/unexpected-error- in-connecting-c-program-with-mysql [ ^ ]
Please look following links:
http://www.cplusplus.com/forum/windows/76263/[^]
http://www.nairaland.com/269672/c-console-database[^]
http://www.dreamincode.net/forums/topic/100725-c-console-database/[^]
http://stackoverflow.com/questions/10458705/unexpected-error-in-connecting-c-program-with-mysql[^]


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

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