绑定代码文件没错 继承也没错 
其他页面可以
就是有一个页面出问题!

解决方案 »

  1.   

    #region Web 窗体设计器生成的代码 override protected void OnInit(EventArgs e)
    {
    //
    // CODEGEN: 该调用是 ASP.NET Web 窗体设计器所必需的。
    //
    InitializeComponent();
    base.OnInit(e);
    }

    /// <summary>
    /// 设计器支持所需的方法 - 不要使用代码编辑器修改
    /// 此方法的内容。
    /// </summary>
    private void InitializeComponent()
    {    
    this.Load += new System.EventHandler(this.Page_Load); } #endregion
      

  2.   

    InitializeComponent里有没有
    this.Load += new System.EventHandler(this.Page_Load);
      

  3.   

    我也遇到这个问题,不知道编译器怎么把我的this.Load += new System.EventHandler(this.Page_Load);
    给删除了。呵呵,多谢各位~