Hi sir,
I am a datatable which contains news headlines and i keep label in form, i want to display news headline in labels one by one with every 5 seconds....please suggest an idea, thanks in advance.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Jul 19, 2011, 2:52 AM EDT
Use timer to display the Headlines every 5 mins.
For timer usage ,
private void Form1_Load(object sender, EventArgs e) { Timer MyTimer = new Timer(); MyTimer.Interval = (5 * 60 * 1000); // 5 mins MyTimer.Tick += new EventHandler(MyTimer_Tick); MyTimer.Start(); } private void MyTimer_Tick(object sender, EventArgs e) { //Display headlines here. }chitra33 reputationPosted Jul 19, 2011, 3:10 AM EDT
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Jul 19, 2011, 5:46 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts