读书人

?一个小的反射有关问题大家来帮小弟

发布时间: 2012-01-01 23:10:55 作者: rapoo

???一个小的反射问题,大家来帮我看看,错在那里
http://community.csdn.net/Expert/topic/5420/5420639.xml?temp=.6603968
一起结

搞了好几天了

[解决办法]
Itest a = (Itest)Assembly.Load( "mytest ").CreateInstance( "Class1 ");

--->

Itest a = (Class1)Assembly.Load( "mytest ").CreateInstance( "Class1 ");

[解决办法]
改为Itest a = (Itest)Assembly.Load( "mytest ").CreateInstance( "mytest.Class1 ");
[解决办法]
Itest a = (Itest)Assembly.Load( "mytest ").CreateInstance( "mytest.Class1 ");

读书人网 >asp.net

热点推荐