PC Review


Reply
Thread Tools Rate Thread

Concurrent Updation problem

 
 
Babz
Guest
Posts: n/a
 
      8th Oct 2003
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



 
Reply With Quote
 
 
 
 
Steven Stein [MSFT]
Guest
Posts: n/a
 
      13th Oct 2003
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" <(E-Mail Removed)>
>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: <(E-Mail Removed)>
>Newsgroups: microsoft.public.dotnet.languages.vb
>NNTP-Posting-Host: 61.247.249.25
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.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

any
>locking technics.
>
>
>Need Advice
>
>Babz
>
>
>
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem facing for updation/save in asp.net/vb.net Dhananjay Microsoft VB .NET 1 20th Feb 2008 12:39 AM
Installation / Updation Problem =?Utf-8?B?UmFuYSBJbXJhbg==?= Anti-Spyware Installation 6 23rd Apr 2006 09:53 PM
Progressbar updation problem Chintan Microsoft Dot NET Compact Framework 5 20th Apr 2005 09:56 AM
Updation problem !? shaji Windows XP General 2 25th May 2004 07:46 AM
Updation Problem!! hitendra Microsoft C# .NET 0 23rd Aug 2003 01:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:27 AM.