我的项目中导入的类不能识别 [英] imported classes arent recognizez in my project

查看:138
本文介绍了我的项目中导入的类不能识别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在asp.net中进行调查(使用视觉基础)..我只是将现有的类导入到mu项目中..但是当我在代码后面并尝试创建该类的对象时,我不能访问我的班级,它不认识它...



什么可能是我的问题?!!



dim obj as new NameOfMyClass'并且clas不存在

I am doing an survey in asp.net ( with visual basics) .. I just imported an existing class into mu project.. but then when I go behind the code and trying to create an object of that class, i cant access my class, it doesn't recognize it...

what can be my problem?!!

dim obj as new NameOfMyClass ' And the clas doesnt exist

推荐答案

你添加了相应的 Imports 您的代码和参考的陈述?
Did you add the appropriate Imports statements to your code as well as the reference?


这篇关于我的项目中导入的类不能识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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