Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 November 7th, 2004, 01:11 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default Timer control

Hi Friends
How can I use the timer control in asp.net webpage. I have tried but it doesn't work. Shows no result.

I am trying to retrieve data from a table and display that in a textbox. When the date reaches to the last position, it moves to the first record and the again to the end. This has to be on a timer control. How can I do that, below is a part of code from my project.

dim a (2) as integer // I have 3 records in my table
dim z as integer
dim j as integer
Dim table As New DataTable
        table = ds.Tables("manu")
        For z = 0 To table.Rows.Count - 1
            a(z) = table.Rows(z).Item(0).ToString
            TextBox1.Text = a(j)
           If j = table.Rows.Count Then
                j = 0
                j = j + 1
            End If
next

This I displayed in a timer control, but it doesn't work. Please help this is very urgent

Thanks

__________________
Regards
Mike





Similar Threads
Thread Thread Starter Forum Replies Last Post
Timer control dipanjan22 ASP.NET 1.x and 2.0 Application Design 2 July 25th, 2007 12:00 PM
I need Coding for Timer Control Dhanapal ADO.NET 2 April 2nd, 2007 04:47 AM
Timer Control joebob_houston Access VBA 3 March 12th, 2007 08:31 AM
Timer Control sankar_massoft General .NET 0 December 21st, 2004 11:53 PM
Can a non-visable control such as a timer be insta hamil VB.NET 2002/2003 Basics 2 July 26th, 2004 05:18 AM





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