在pageload里边加 this.textBox1.Text = "123";你添加的这个事件还没有触发呢当前时间:this.textBox1.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");