使用MFC创建数据库 [英] create database using mfc

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

问题描述

大家好,

首先我要检查特定的数据库是否存在?如果不是,那么我必须通过编码来创建数据库,并在该数据库中创建一些表.

我通过ODBC驱动程序连接数据库.我必须使用Visual Studio 2008和MSSQLSERVER 2008 R2.

如果有人知道,请回答我.

[提前感谢].

Hi to all,

First I have to check particular database are exist or not? If not then I have to create database by coding and create some tables in this database.

I connect the database through ODBC driver. I have to use visual studio 2008 and MSSQLSERVER 2008 R2.

If anybody know please answer me.

[Thanks in advance].

推荐答案

^ ]
使用CDatabase类读取Access数据库 [
Using CDatabase[^]
Using the CDatabase class to read an Access databases[^]


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

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