Label Show Intervel Time
After 5 Seconds Show Label Control in asp.Net c#
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sabyasachi MishraRank #889 · 2.4K reputationPosted Jun 6, 2015, 5:46 AM EDT
private void Form1_Load(object sender, EventArgs e) { timer1.Interval = 5000; timer1.Tick += new System.EventHandler(this.timer1_Tick); label1.Visible = true; timer1.Start(); }private void timer1_Tick(object sender, EventArgs e) { timer1.Stop(); //If timer is not stopped, then the event will be called for every 5 seconds label1.Visible = false; }