[英]C # using System.Data.OleDb problem
I have tried this on IDE SharpDevelop not on visual studio. 我已经在IDE SharpDevelop上而不是在Visual Studio上尝试过这个。 I am using the namespace like this: 我正在使用这样的命名空间:
using System.Data.OleDb;
But it is showing me following error: 但是它向我显示以下错误:
'Data' does not exist in the namespace 'System'(are you missing an assembly reference?)(CS0234)
Listen to the compiler: you're probably missing a reference to the System.Data
assembly in your project. 听编译器:您可能缺少对项目中System.Data
程序集的引用。 You need to add that reference using the Add Reference...
dialog from the Project
menu. 您需要使用“ Project
菜单中的“ Add Reference...
对话框来添加该引用。
Add Reference then search System.Data
and add to your program using 添加引用,然后搜索System.Data
并使用添加到您的程序中
using System.Data;
using System.Data.Oledb;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.