[阅读: 459] 2004-12-31 09:02:44
public class BasePage: Page
{
protected override void OnInit(EventArgs e)
{
base.OnInit (e);
PlaceHolder pc = new PlaceHolder();
this.Controls.Add(pc);
Control c = this.LoadControl("~/BasePage/myUserCtrl.ascx");
pc.Controls.Add(c);
}
}
夫习拳艺者,对已者十之七八,对人者,仅十之二三耳。拳艺之道,深无止境。得其浅者,一人敌,得其深者,何尝不万人敌耶!
我的Google Picasa相册
我的新BLOG