开发者

Loading a Custom Server Control on the fly

System.Reflection.Assembly assembly = System.Reflection.Assembly.LoadFile(@"CustomControls.Nav.dll");
 //Namespace and assembly name are CustomControls.Nav , the class name for the control is WebBar
Type type = assembly.GetType("CustomControls.Nav.WebBar");

开发者_Python百科I am getting type as null.What am I doing wrong here?


What does Object Browser display when you look at this Assembly? Is it showing CustomControls.Nav.WebBar?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜