Answered by:
Timer expired after specific time

Question
-
hi every one
i use sql server 2008 and visual studio2008 .
i got dropdown list control ,it reads from database i want to update it every second to
read any changes from data base so i use sql cashing dependency and use timer ajax
control to run cashing code every second i set interval property to timer ="1000" .
it works in agood way but the problem is that if the timer stil work for 6 or 7
houres it causes error and stop working!!!!
i do not know why???
is this timer can not work forever??or i have to disable it for awhile and enable it
again??is it a heavy load to set interval every second forever??
please inform me
fatma
best wishes
fatma mohamedThursday, April 29, 2010 10:03 AM
Answers
-
Hi,
As you did not specify which language you are doing this, I can recommend you to post your question in one of the forums below:
http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/threads - C# Language Forum
http://social.msdn.microsoft.com/Forums/en-US/vclanguage/threads - C++ Language Forum
http://social.msdn.microsoft.com/Forums/en-US/vblanguage/threads - VB Language ForumThis forum is intended just to ask where is the best place for posting questions such as that. In one of those they'll be probably of more help.
Regards
Marcelo
- Proposed as answer by mnmagri Friday, April 30, 2010 5:29 PM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, May 2, 2012 5:20 AM
Thursday, April 29, 2010 4:58 PM
All replies
-
Hi,
As you did not specify which language you are doing this, I can recommend you to post your question in one of the forums below:
http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/threads - C# Language Forum
http://social.msdn.microsoft.com/Forums/en-US/vclanguage/threads - C++ Language Forum
http://social.msdn.microsoft.com/Forums/en-US/vblanguage/threads - VB Language ForumThis forum is intended just to ask where is the best place for posting questions such as that. In one of those they'll be probably of more help.
Regards
Marcelo
- Proposed as answer by mnmagri Friday, April 30, 2010 5:29 PM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, May 2, 2012 5:20 AM
Thursday, April 29, 2010 4:58 PM -
thanx for ur help i use C# language so i will repost it in the first link you send
best wishes
fatma
fatma mohamedFriday, April 30, 2010 9:17 AM -
Fatma,
don't forget to mark accept as answer if my post was of help.
Thanks
Marcelo
Monday, May 3, 2010 1:27 PM