in desktop app, this is the code
but in web app it doesnt work, why?
tnx in advance
Code:protected void Page_Load(object sender, EventArgs e) { t = 5; Label1.Text = DateTime.Now.ToString(); Label2.Text = DateTime.Now.ToString(); } protected void Timer1_Tick(object sender, EventArgs e) { Label2.Text = DateTime.Now.ToString(); Label3.Text = t.ToString(); t = t - 1; if (t == 0) { Label3.Text = "gdfgdg"; t = 5; } }





Reply With Quote