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. how to avoid concurrency while dealing with dataset

how to avoid concurrency while dealing with dataset

Scheduled Pinned Locked Moved ASP.NET
questioncsharpdatabasesql-serversysadmin
5 Posts 4 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
    kirtiaroraa
    wrote on last edited by
    #1

    What happens when u try to update data in a dataset in .NET while the record is already deleted in SQL SERVER as backend? OR What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)

    C P 2 Replies Last reply
    0
    • K kirtiaroraa

      What happens when u try to update data in a dataset in .NET while the record is already deleted in SQL SERVER as backend? OR What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I would implement record locking so that one user at a time had the right to edit a piece of data.

      Christian Graus Driven to the arms of OSX by Vista.

      1 Reply Last reply
      0
      • K kirtiaroraa

        What happens when u try to update data in a dataset in .NET while the record is already deleted in SQL SERVER as backend? OR What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)

        P Offline
        P Offline
        Paddy Boyd
        wrote on last edited by
        #3

        Sounds a lot like a homework question...

        E 1 Reply Last reply
        0
        • P Paddy Boyd

          Sounds a lot like a homework question...

          E Offline
          E Offline
          eagle_passioned
          wrote on last edited by
          #4

          we need answers not assements

          P 1 Reply Last reply
          0
          • E eagle_passioned

            we need answers not assements

            P Offline
            P Offline
            Paddy Boyd
            wrote on last edited by
            #5

            Nice. Way to reply to a two year old message...

            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