Problem in using timer control in asp.net
-
:rose: I am looking for a code for web application in asp.net which contineously ( i.e say 1-5 sec ) updates the database table.I tried to use ajax timer control but cant get solution coz it refreshed the page at given interval but not raised a event my airthmetic ie: int i; private void timer_tick(........) { i=i+1 label1.Text=i.ToString(); ////database update codes////// } What should i do to fire my events in every 5 seconds..............plz its urgent :rose: Pokhrel Rohit
-
:rose: I am looking for a code for web application in asp.net which contineously ( i.e say 1-5 sec ) updates the database table.I tried to use ajax timer control but cant get solution coz it refreshed the page at given interval but not raised a event my airthmetic ie: int i; private void timer_tick(........) { i=i+1 label1.Text=i.ToString(); ////database update codes////// } What should i do to fire my events in every 5 seconds..............plz its urgent :rose: Pokhrel Rohit
If you're using SQL Server 2000 you could use Job Scheduling to update the table every so often.
-
If you're using SQL Server 2000 you could use Job Scheduling to update the table every so often.
:rose:How can Job Scheduling Solve problem of timer can you give me any idea. I haven't gone through job scheduling .......... Thank you :rose: pokhrel rohit