2010-07-02 89 views
0

我收到[类TestClass的类实例声明中的错误:[BC30002]类型'TestClass'不是defiend。我得到这个在VS2005 IDE 表达= Code.M_TestClass.ReturnTheStr() 参考MYTEST DLL,CLASS的TestClass INSTANCE M_TestclassSSRS访问类实例问题

DLL的代码

namespace MyTest 
{ 
    public class TestClass 
    { 
     public TestClass() : base() 
     { 
      // Constructo 
     } 
     public static string ReturnStr() 
     { 
      return "Help is here"; 
     } 
     public string ReturnTheStr() 
     { 
      return "Instance Help is here"; 
     } 
    } 
} 

任何想法将是巨大的

回答

0

当提供CLPS名称需要用prifix命名空间 Mytest.Testclass