Visual c ++中的数据库 [英] Database in Visual c++

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

问题描述

我想开发一个基于Windows Mobile 6架构的应用程序.编码将使用Visual c ++.在此,我要创建一个按钮,如果单击该按钮,它将创建SQL紧凑数据库,并为该特定DB添加一些值.
那么如何编写数据库连接字符串以及应该导入哪个文件以及所有过程如何进行呢?

I want to make one application which will based on windows mobile 6 architecture. Coding will be in Visual c++. In that I want to make a single button , if I clicked on that it will create SQL compact Database and add some value to that particular DB.
So how to write DB connection string and which file should be imported and how all processes goes on?

推荐答案

这是一个大问题,但我想与这个站点共享与您一起解决它的连接字符串部分.

http://connectionstrings.com/ [ ^ ]

确保使用与Mobile 6兼容的SQL CE版本.

这是Microsoft一些有关此操作的文章的链接.

http://msdn.microsoft.com/en-us/library/aa983313 (v = vs.80).aspx [
This is a big question, but I wanted to share this site with you as a solution for the connection string part of it.

http://connectionstrings.com/[^]

Make sure that you use a version of SQL CE that is compatible with Mobile 6.

Here is a link to some articles from Microsoft on doing this.

http://msdn.microsoft.com/en-us/library/aa983313(v=vs.80).aspx[^]


这篇关于Visual c ++中的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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