Wrox Programmer Forums
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 11th, 2007, 03:00 AM
Registered User
 
Join Date: Mar 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Dhanapal
Default Timer

In my label control display text automatically change every 2 seconds...How

Label1.Text="First";

this is first statement.

After that display next value based on timing. Timing interval 2 seconds

Label1.Text="Second"

after 2 seconds display following statement..
Label1.Text="Third"

after 2 seconds display following statement..

Label1.Text="Four"

after 2 seconds display following statement..

Label1.Text="Five"

Then again go to first.

after 2 seconds display following statement..

Label1.Text="First"..
..........
............

This concept using page load event......

How help me
I need C# Coding with ASP.Net..
Any Concept.......Timer or AJAX any way.....


 
Old April 11th, 2007, 08:38 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

It sounds like you should use pure javascript for this task. Look into the setTimeout() JS method.

-Peter
 
Old April 16th, 2007, 04:58 AM
Authorized User
 
Join Date: Jun 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you can use javascript along with c#.net. U can use the document.get element by id to detect the timespan and then do some action in the front end.

Intellectuals solve problems but Genoius avoid problems.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Timer and BackgroundWorker lukaszt C# 0 February 1st, 2007 10:25 AM
Timer prasanta2expert Access VBA 1 November 8th, 2006 09:28 AM
Timer Or Thread? (c#) kobystud C# 3 July 22nd, 2006 12:21 AM
Timer Problem gaurav_jain2403 ASP.NET 1.x and 2.0 Application Design 11 February 18th, 2006 09:37 PM
timer amerei ASP.NET 1.0 and 1.1 Professional 0 October 15th, 2005 10:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.