Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Problem in using timer control in asp.net

Problem in using timer control in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasehelpannouncement
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RohitRajPokhrel
    wrote on last edited by
    #1

    :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

    C 1 Reply Last reply
    0
    • R RohitRajPokhrel

      :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

      C Offline
      C Offline
      CharlyBrownx3
      wrote on last edited by
      #2

      If you're using SQL Server 2000 you could use Job Scheduling to update the table every so often.

      R 1 Reply Last reply
      0
      • C CharlyBrownx3

        If you're using SQL Server 2000 you could use Job Scheduling to update the table every so often.

        R Offline
        R Offline
        RohitRajPokhrel
        wrote on last edited by
        #3

        :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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups