Win 7 64位VS 2008 [英] Win 7 64-bit VS 2008
本文介绍了Win 7 64位VS 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
伙计们,
由于对Vista感到厌烦,我刚刚用Win 7 64位重新安装了PC.....
问题是Visual Studio 2008现在对Web应用程序项目抛出错误
BC30002:未定义类型"OleDb.OleDbConnection".
即使已包含System.Data作为参考. IDE不会引发错误,而是在Debug中运行时显示在Internet Explorer中.
有什么想法吗?
干杯Tim
Guys,
I have just reinstalled my PC with Win 7 64-bit due to being sick of Vista and it''s glitches....
The problem is Visual Studio 2008 now throws an error with a web application project
BC30002: Type "OleDb.OleDbConnection" is not defined.
Even though System.Data has been included as a reference. The IDE doesn''t throw the error, it displays in the Internet explorer when it runs in Debug.
Any thoughts?
Cheers Tim
推荐答案
System.data已被引用,但仍应在此行顶部添加:
System.data has been referenced, still you should add this line at top:
imports system
imports system.data
imports system.data.oledb
希望有帮助.
Hope that helps.
这篇关于Win 7 64位VS 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文