Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Last Time i asked "
Quote:
How to refresh disconnected database in vb
" and i got some valuable reply.

Someone suggest me to use timer to refresh database; but i cannot use AJAX Timer on windows form.

Can anyone please tell me how to use timer in windows form?
Posted

finally i have solved it myself with google help.

A CountDownTimer inherited from System.Windows.Forms.Timer[^]
 
Share this answer
 
In my past answer, I've put forward a schema which combines a timer with thread which has considerable benefits over the both timer and thread approaches. Please see Polling Database with Timer[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900