为什么错误找不到命名空间或类? [英] why's the error not found namespace or class ?

查看:197
本文介绍了为什么错误找不到命名空间或类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你看下面的例子为什么找不到错误的命名空间或类?

http://www.mediafire.com/file/iiak7w5nhhab3ju/Namespace_asp_net.rar/file

You see the example below why the error not found namespace or class ?
http://www.mediafire.com/file/iiak7w5nhhab3ju/Namespace_asp_net.rar/file

推荐答案

你好,

发布项目的正确方法是使用.zip文件,而不是.rar文件,并将.zip文件上传到Microsoft OneDrive。使用与这些论坛相同的用户名和密码登录OneDrive。

The correct way to post a project is in a .zip file, not .rar file and upload the .zip file to Microsoft OneDrive. Login to OneDrive with the same user name and password as done for these forums.

同时您可以键入完整的命名空间来访问该类,而不是依赖于使用中的using语句你的表单如果不起作用那么你的课程范围最广,所以它可以在你使用它的地方使用,例如你的帖子的
的最后一行。

In the mean time you can type in the full namespace to access the class rather than depending on a using statement in your form, if that does not work then you most scope your class so it's available to where you are using it such as in the last line of your post.


这篇关于为什么错误找不到命名空间或类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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