看看你的Web 窗体设计器生成的代码
InitializeComponent()方法中有没有下面这行this.Load += new System.EventHandler(this.Page_Load);
InitializeComponent()方法中有没有下面这行this.Load += new System.EventHandler(this.Page_Load);
{
this.Load += new System.EventHandler(this.Page_Load); }另外,检查一下你的<form>或者<body>是不是带了onload的东东
例如<form onload="......">