可怕的异常
未处理的“System.StackOverflowException”类型的异常出现在 mscorlib.dll 中。
错误代码如下:_header = (friendsheader)LoadControl(Request.ApplicationPath + Path.AltDirectorySeparatorChar+"contorls/friendsheader.ascx");
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: 该调用是 ASP.NET Web 窗体设计器所必需的。
//
_header = (friendsheader)LoadControl(Request.ApplicationPath + Path.AltDirectorySeparatorChar+"contorls/friendsheader.ascx");
_subheader = new SubHeader();
Page.Controls.AddAt(0,_header);
Page.Controls.AddAt(0,_subheader);
InitializeComponent();
base.OnInit(e);
}