p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Visual Studio 2005 (http://p2p.wrox.com/forumdisplay.php?f=140)
-   -   Timer elapse event in asp.net (http://p2p.wrox.com/showthread.php?t=51733)

inimay December 19th, 2006 07:57 AM

Timer elapse event in asp.net

I have written timer elapsed event in asp.net.But it is not firing.
I have given the following code in pageload
private static System.Timers.Timer t = new System.Timers.Timer();
t.Interval = 20000
t.Enabled = true;
t.Elapsed += new ElapsedEventHandler(t_ElapsedEventHandler);

then this is my event

private static void t_ElapsedEventHandler(object sender,ElapsedEventArgs e)



but this event is not firing...Please help

All times are GMT -4. The time now is 06:31 PM.

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