Hi
I am trying to build an ASP application which will print some value
i.e. interger on the webpage and update it at specific intervals.
The option which I'v tried is :
1. Create a thread
2. Call a function which has a infinite while loop with a print
statement with a sleep method in between like:
private void startFunction()
{
TimeSpan waitTime = new TimeSpan(0, 0, 10);
int n = 0;
while(n != -1)
{
Thread.Sleep(waitTime);
Label1.Text = n.ToString();
Thread.Sleep(waitTime);
n++;
}
}
This should print something like 0, 1, 2 etc at specific intervals..
Something which is not turning out tht way!
Any comments?
Regards
Pinaki
------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/XGgtlB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Microsofts_C_Sharp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/