Visual C ++ Express Edition和的SQL [英] Visual C++ Express Edition & SQL
问题描述
您好,最近5个月,我一直在使用C#2010 EE编写一些软件,在开会后,我们的IT部门表示他们将不支持C#,因为部门中没人熟悉它,长话大说,不要问.简短的版本是我被要求用C ++ EE(他们确实理解)重写所说的软件.好的,我会混淆其中的任何一个,不会打扰我,但今天我花了3个小时尝试设置数据库连接,但C ++ EE中没有添加数据源"功能.我的问题很简单,就是它在哪里?"和我该怎么办?"添加一个数据源!请帮忙.
Hello, i have for the last 5 months been writing some software using C# 2010 EE, after a meeting at work, our IT department have said they would not support C# as no one in the dept is familiar with it, long story, dont ask. Short version is i have been asked to rewrite said software in C++ EE (which they do understand). OK Fine, i will muddle through either, doesnt bother me but today i have spent 3 hours trying to set up a database conecction but have no ''Add Data Source'' facility in C++ EE. My questions are quite simply ''Where is it?'' and ''how do i?'' add a data source! Please Help.
推荐答案
我不认为有一个,您需要商业版本的Visual Studio,如 ^ ].
I don''t think there is one, you need a commercial version of Visual Studio as described here[^].
根据该线程 Visual Studio 2010没有此功能,因为开发人员无法向C ++添加数据源[ ^ ]
以前有人对此有所抱怨: ^ ]
本机C ++项目从未有过这样的功能.因此,从C ++项目中,您必须以某种常规方式连接到数据库,即使用ADO(适用于C ++/CLI的ADO.NET)或ODBC.
According to this thread visual studio 2010 has no this feature for developers add datasource to a C++[^]
And there are people that were complaining about this before: Cannot add data source in C++/CLI Winforms Project[^]
There never was such a feature for native C++ projects. Thus, from C++ project you have to connect to database in some conventional way, i.e. using ADO (ADO.NET for C++/CLI) or ODBC.
这篇关于Visual C ++ Express Edition和的SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!