更新时间:2023-11-23 11:09:04
请确保以下内容:
1.App_Code
文件夹中的类(cs文件)将进行编译.
2.班级是public
.
3.如果该类具有名称空间,请确保使用"using
"语句将其导入到代码隐藏文件中. 4.确保类文件的方法为public
.
希望您的问题能够得到解决.
Make sure the following things:
1. The class (cs file) inside theApp_Code
folder compiles.
2. The class ispublic
.
3. If the class has a namespace, make sure it is imported in the codebehind file with the "using
" statement.
4. Make sure the methods of the class file arepublic
.
Hopefully, your problem will be resolved.
正如您在此问题的主题中恰当提到的那样,网页中包含的名称空间是.如果它们是单独的dll,是否添加了dll参考?
As you have so aptly mentioned in the subject of this question, is the namespace included in the web page. If they are separate dll''s, is the dll reference added?