UserControlPath ucon = (UserControlPath) this .Page.LoadControl( " UserControlPath.ascx " ); 页面动态添加用户控件代码 注意:不能用New