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. General Programming
  3. C#
  4. remote delegate handling

remote delegate handling

Scheduled Pinned Locked Moved C#
databasesql-serversysadminannouncement
6 Posts 3 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.
  • K Offline
    K Offline
    kasraa00098000
    wrote on last edited by
    #1

    hi, in my case, i have a lan using sql server as data server, now one client insert or update some important data that it's highly recommended to another clients understand this operation, is there any way to make a remote delegate on all clients or something like this ty

    realJSOPR N 2 Replies Last reply
    0
    • K kasraa00098000

      hi, in my case, i have a lan using sql server as data server, now one client insert or update some important data that it's highly recommended to another clients understand this operation, is there any way to make a remote delegate on all clients or something like this ty

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #2

      My first thought is that you'd probably have to setup a communications system with a central server that performed the database operations, and then notified all of the clients of the change.

      .45 ACP - because shooting twice is just silly
      -----
      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

      K 1 Reply Last reply
      0
      • K kasraa00098000

        hi, in my case, i have a lan using sql server as data server, now one client insert or update some important data that it's highly recommended to another clients understand this operation, is there any way to make a remote delegate on all clients or something like this ty

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #3

        You could use SqlDependency to keep clients updated when the database has changed. Using SqlDependency for data change events[^]


        I know the language. I've read a book. - _Madmatt

        K 1 Reply Last reply
        0
        • N Not Active

          You could use SqlDependency to keep clients updated when the database has changed. Using SqlDependency for data change events[^]


          I know the language. I've read a book. - _Madmatt

          K Offline
          K Offline
          kasraa00098000
          wrote on last edited by
          #4

          thanx for ur answer, in my case I have 1milion record in my cached table in my form, so if 1 record has changed,then by using sqldependency 1milion record must be retrived again! is it possible to understand which record has been changed?

          N 1 Reply Last reply
          0
          • realJSOPR realJSOP

            My first thought is that you'd probably have to setup a communications system with a central server that performed the database operations, and then notified all of the clients of the change.

            .45 ACP - because shooting twice is just silly
            -----
            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

            K Offline
            K Offline
            kasraa00098000
            wrote on last edited by
            #5

            thanks for ur answer, u right, look im going to do this as easy as possible, bcoz fee for this work is only 50$. :(

            1 Reply Last reply
            0
            • K kasraa00098000

              thanx for ur answer, in my case I have 1milion record in my cached table in my form, so if 1 record has changed,then by using sqldependency 1milion record must be retrived again! is it possible to understand which record has been changed?

              N Offline
              N Offline
              Not Active
              wrote on last edited by
              #6

              1 million? I doubt that. Have you read the documentation? Have you actually tried it?


              I know the language. I've read a book. - _Madmatt

              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