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. Database & SysAdmin
  3. Database
  4. automaticaly refresh

automaticaly refresh

Scheduled Pinned Locked Moved Database
database
5 Posts 3 Posters 1 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.
  • M Offline
    M Offline
    muharrem
    wrote on last edited by
    #1

    Is there any mechanism to refresh a dataset automatically when the data source ,lets say a table in SqlServer, is updated, deleted or inserted. No periodic fill or execuete a sql statement please. Thanks

    P A 2 Replies Last reply
    0
    • M muharrem

      Is there any mechanism to refresh a dataset automatically when the data source ,lets say a table in SqlServer, is updated, deleted or inserted. No periodic fill or execuete a sql statement please. Thanks

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      muharrem wrote:

      No periodic fill or execuete a sql statement please.

      Why not?

      "Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus

      M 1 Reply Last reply
      0
      • P Paul Conrad

        muharrem wrote:

        No periodic fill or execuete a sql statement please.

        Why not?

        "Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus

        M Offline
        M Offline
        muharrem
        wrote on last edited by
        #3

        I don't know when the original data source is updated by other user or an other aplication. My project is going to be part of a plant automation system. So the events from the plant level my arise in very short time duration or too long. It depends on the condition at that moment. So if I periodically fill my data set, what will be the period? It is very difficult to gess id advance. Having it too short will bring unnecessary workload for the system. Or having it too long will cause to miss the some indermediate update in the data source. I am not very good on Ado.Net. I need to know ,if possible, can I have my client application to refresh its dataset (automatically) from the data source when it is updated. Thanks for reply, anyhow

        1 Reply Last reply
        0
        • M muharrem

          Is there any mechanism to refresh a dataset automatically when the data source ,lets say a table in SqlServer, is updated, deleted or inserted. No periodic fill or execuete a sql statement please. Thanks

          A Offline
          A Offline
          ALAQUNAIBI
          wrote on last edited by
          #4

          The best way to make this , by using triggers with endpoint in SqlServer 2005

          M 1 Reply Last reply
          0
          • A ALAQUNAIBI

            The best way to make this , by using triggers with endpoint in SqlServer 2005

            M Offline
            M Offline
            muharrem
            wrote on last edited by
            #5

            Can you be more specific please? And consider MySQL too. Thanks, Muharrem

            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