protected void Page_Load(object sender, EventArgs e)
{
Control a = Page.LoadControl("WebUserControl.ascx");
a.ID = "WebUserControl";
this.Page.Controls.Add(a);
}
转载于:https://www.cnblogs.com/ori8/archive/2009/05/31/1492870.html