如题!ASP.Net(VB)中可以引用C#写的类,但是不知道该如何调用!

解决方案 »

  1.   

    compile the cs file into a dll and add a reference to the dll in your web app, then use the class as usual
      

  2.   

    C#写的类编译成dll然后 使用ASP.Net(VB)调用
      

  3.   

    建类工程,把C#的类编译成DLL,然后在VB中引用进来再imports就可以用了.
      

  4.   

    nod 
    compile the cs file into a dll and add a reference to the dll in your web app, then use the class as usual
    声明这个类的对象调用这个类的方法
      

  5.   

    哦,原来是这样!我是直接引用C#类的项目,没编译,结果不行,我还以为有什么特别的呢!!原来编译一下就OK了。多谢多谢!!