0

Hello Friends..


I have a query ...
I have connected to the database and retrieved some data from the database.
All the info is in the SqlDataAdapter...
There are some 10 rows of data in the sql data adapter.
I want this row of data to be displayed in a label one after the other with a gap of say 3 seconds... i.e. first apple is displayed. after 3 seconds grapes is displayed.. and soo on ..

Please help me in this..
Waiting for a positive response..

Regards
Angad..

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by angadsk
0

After filling DataSet (or DataTable) by Adapter, call a method (preferred to be in another thread) loop on DataSet (or DataTable) foreach row you'll stop the thread for 3000 ms

void Initilize()
{
// filling adapter 
// filling dataset (or datatable)
// calling ShowRows
}
void ShowRows(DataSet (or DataTable) tbl)
{
foreach(DataRow in tbl.Rows)
{
//Create Label Control at runtime with good X and Y cor.
//Thread.Stop(3000);
}
}
0

Sir
Thanks for replying.. .
But this is not working fine..
It shows only the first and last value....
the rest of the values are not getting displayed.

I want something like the google messages popup window. When you login to google talk then a pop up box comes out and displays the newest messages in order.
I am working on such kind of thing ..

Can any one else help me in this and using some timer.

Waiting for a positive response.

Regards
Angad

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.