.NET CF SqlClient错误-类型或名称空间名称'SqlClient'在名称空间System.Data中不存在 [英] .NET CF SqlClient Error - Type or namespace name 'SqlClient' does not exist in the namespace System.Data

查看:105
本文介绍了.NET CF SqlClient错误-类型或名称空间名称'SqlClient'在名称空间System.Data中不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发布了此内容,出于某种原因,该成员被"nobugz"成员移动了.到垃圾桶...

在审核之前可以阅读吗?

报价"
大家好,我不确定这是在右边发布的吗?地方, 但是如果有人不能,请以正确的方向指导我?

我正在使用C#编写程序Visual Studio 2005和.net CF 3.5.

尝试调试时收到此错误.

错误 CS0234:类型或名称空间名称'SqlClient'在 名称空间'System.Data'(您是否缺少程序集引用?)

何时 我去参考了,我已经包含了来自System.Data的DLL. 智能设备选择,但是如果我右键单击system.data 引用并在对象查看器中查看我能够看到 SqlClient包含在名称空间System.Data中,但不包含在其中 标题为System.Data(Compact Framework).

我尝试过 我能想到的一切,我已经重新安装,重新安装了.net CF Redistributible和.net Framework 3.5,但我仍然能收到 错误.

我正在使用Windows CE作为目标平台和智能设备"设置.

对我们的帮助,

Ulysses.



>(PS>拼写和大小写正确,我已经仔细检查过.)



由于没有与.net CF相关的论坛,我再次在此发布了此信息,请不要将其移至主题之外的文章,而应移至您似乎没有的.net Compact Framework问题的适当论坛中.

I just posted this and for some reason was moved by member "nobugz" to the trash can...

Can you read before you moderate?


"Quote"
Hello everyone, I am not sure that this is posted in the right place, but if not can someone please direct me in the right direction?

I am writing a program in C# using Visual Studio 2005 and the .net CF 3.5.

When I attempt to debug I receive this error.

error CS0234: The type or namespace name 'SqlClient' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)

When I go to my references, I have included the DLL for System.Data from the smart devices selection, however if I right click on the system.data reference and go to view in object viewer I am able to see that SqlClient is contained in the namespace System.Data, but not in the one titled System.Data (Compact Framework).

I have attempted everything I could think of, I have reinstalled, reinstalled the .net CF Redistributible and the .net framework 3.5 but I still recieve this error.

I am using Windows CE as my target platform and the Smart Device settings.

Any help is appreciated,

Ulysses.


(PS> Spelling and case sensitivity is correct, I've double checked that.)



Being there was not a forum related to the .net CF I posted this here, again, please do not move this to off topic posts, but to the proper forum for .net Compact Framework Questions which you don't seem to have......

推荐答案

阅读我留下的通知,它在您上一篇文章的底部.它也应该出现在您收到的警报中.那是您要发布的地方.

不客气.
Read the notice I left, it is at the bottom of your previous post.  It should also appear in the alert you received.  That's where you want to post.

You're welcome.


这篇关于.NET CF SqlClient错误-类型或名称空间名称'SqlClient'在名称空间System.Data中不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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