今天要实现动态加载ascx文件。不知道如何实现。后来,公司小张发了个方法过来。一试可以方法如下:Control cr = (Control)LoadControl(@"UserControl_test.ascx");
最新评论及回复