使用源安全时在ListVeiw中显示错误 [英] Show Error In ListVeiw when Using Source Safe

查看:78
本文介绍了使用源安全时在ListVeiw中显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友

我有问题,我使用源安全,我发现ListView的错误是

''类型或命名空间名称''ListView''无法找到(您是否缺少使用指令或装配参考?)''



请帮助我提前谢谢

Hello Friends
I have problem that I am Using Source Safe and I Found Error Of ListView That is
''The Type or Namespace name ''ListView'' Could not be Found(Are You Missing a Using Directive or an assembly Reference?)''

Please Help me Thanks in Advance

推荐答案

''无法找到类型或命名空间名称''ListView'(您是否缺少使用指令或程序集参考?)''

首先,这与SourceSafe无关。



现在,上述错误意味着您正在尝试使用缺少大多数的Class ListView可能的原因可能是缺少GAC或应用程序bin文件夹中的程序集。确保存在具有该类的程序集。



对于Winforms,它位于 System.Windows.Forms 程序集的命名空间: System.Windows.Forms(在System.Windows.Forms.dll中)

对于Web,它位于 System.Web中。 UI.Control 程序集的命名空间: System.Web.Extensions(在System.Web.Extensions.dll中)
''The Type or Namespace name ''ListView'' Could not be Found(Are You Missing a Using Directive or an assembly Reference?)''
First thing, this has nothing to do with SourceSafe.

Now, the above error means that you are trying to use Class ListView which is missing and most probable reason for it could be missing assembly in GAC or application bin folder. Make sure that the assembly that has the class is present.

For Winforms, it''s in System.Windows.Forms namespace of assembly: System.Windows.Forms (in System.Windows.Forms.dll)
For Web, it''s in System.Web.UI.Control namespace of assembly: System.Web.Extensions (in System.Web.Extensions.dll)


这篇关于使用源安全时在ListVeiw中显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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