如何在Visual Studio 2017中将数据库添加到MFC项目? [英] How to add database to MFC project in Visual Studio 2017?

查看:116
本文介绍了如何在Visual Studio 2017中将数据库添加到MFC项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用数据库创建MFC项目.正如我在VS 2015的屏幕中看到的那样,它有一个特殊的选项.但是在VS 2017中我看不到它.这是我拥有的组件列表:

I need to create an MFC project with database. As I can see in screens of VS 2015, there was a special option for it. But in VS 2017 I don't see it. Here's the list of components I have:

但是我仍然找不到任何可以帮助我找到对mfc的数据库支持的东西.我将不胜感激.预先感谢!

But I still can't find anything that can help me find database support for mfc. I will be grateful for any help. Thanks in advance!

推荐答案

这类似于我的回答我缺少添加新内容在VS-2019中添加来自Typelib的MFC类" 或本期您将需要在VS2015中创建它并将其移植到VS2017,或手动实现向导自动执行的操作.

You will need to create it in VS2015 and port it to VS2017, or manually implement what the Wizard does automatically.

这篇关于如何在Visual Studio 2017中将数据库添加到MFC项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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