protected void Page_Load(object sender, EventArgs e) { if (Page.IsPostBack == false) { Label1.Text = DateTime.Now.ToShortDateString(); } }