Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 11th, 2007, 03:00 AM
Registered User
 
Join Date: Mar 2007
Location: Chennai, Tamilnadu, India.
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.....


Reply With Quote
  #2 (permalink)  
Old April 11th, 2007, 08:38 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
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
Reply With Quote
  #3 (permalink)  
Old April 16th, 2007, 04:58 AM
Authorized User
 
Join Date: Jun 2006
Location: Hyderabad, Andhrapradesh, India.
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:40 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.