By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,645 Members | 1,065 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,645 IT Pros & Developers. It's quick & easy.

Concurrent Updation problem

P: n/a
Hi,
How I can prevent concurrent updation of a records in .net.
I am using Dataset which is disconnected from the data source. In this
situation if
two users opens the same record, modifies the data and updates one after
another,
my data won't be in the correct state. How I can prevent this. Is there any
locking technics.
Need Advice

Babz

Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Babz-

Check out the following information on MSDN:

How Visual Studio .NET Generates SQL Statements for Concurrency Control
http://msdn.microsoft.com/library/en...hConcurrencyIn
ADONET.asp

Walkthrough: Handling a Concurrency Exception
http://msdn.microsoft.com/library/en...ngconcurrencye
xception.asp

hope that helps
Steve
Visual Basic Team

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Babz" <no******@nodomain.com>
Subject: Concurrent Updation problem
Date: Wed, 8 Oct 2003 18:33:04 +0530
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Message-ID: <eT**************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: 61.247.249.25
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:145392
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Hi,
How I can prevent concurrent updation of a records in .net.
I am using Dataset which is disconnected from the data source. In this
situation if
two users opens the same record, modifies the data and updates one after
another,
my data won't be in the correct state. How I can prevent this. Is there anylocking technics.
Need Advice

Babz


Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.