更新时间:2023-01-06 22:26:21
试试这个在APP_ code子文件夹中创建两个新的子文件夹,一个是你的C#类,另一个用于VB.NET类。之后,在一节这样的规定,这些2个文件夹在web.config中:
Try this in the App_Code subfolder create 2 new subfolders, one for your C# classes and another for your VB.NET classes. After that specify these 2 folders in the web.config in the section like this:
<system.web>
<compilation debug="true">
<codeSubDirectories>
<add directoryName="CSharp"/>
<add directoryName="VB"/>
</codeSubDirectories>
</compilation>
或者你也可以在其他语言中创建新的项目并添加和借鉴吧。
Or you can create new project in other language and add referenc to it.