如何连接ms sql&视觉工作室2010 [英] how to connect ms sql & visual studio 2010

查看:79
本文介绍了如何连接ms sql&视觉工作室2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我想通过语言C ++从visual studio 2010连接ms sql server 2008,我需要一些有用的教程。我收到此错误:致命错误C1083:无法打开包含文件:'sqlfront.h':没有这样的文件或目录。

请帮帮我



提前感谢。

Hi all,

I want to connect ms sql server 2008 from visual studio 2010 by using language C++ and I need some useful tutorials. I get this error :"fatal error C1083: Cannot open include file: 'sqlfront.h': No such file or directory".
please help me

thanks in advance.

推荐答案

试试这些:



http://support.microsoft.com/kb/308510 [ ^ ]



http://www.tidytutorials.com/2009/08/connecting-to-sql-server-using-c-odbc。 html [ ^ ]



希望它有所帮助:)
Try these:

http://support.microsoft.com/kb/308510[^]

http://www.tidytutorials.com/2009/08/connecting-to-sql-server-using-c-odbc.html[^]

hope it helps :)


我只是删除了该文件的包含能够建立我的解决方案。我想VS2010默认有这些定义。
I just remove the inclusion of that file and was able to build my solution. I guess VS2010 have these definitions by default.


这篇关于如何连接ms sql&视觉工作室2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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