Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

When multiple users attempt to modify data at the same time
Ex user 1 is updating record at same time user2 deleted
record sucessfully.now user1 has press update button . how
to handle concurrency

Answer Posted / kiranmadiraju

You can use one primary key and one timestamp field to sort
out the problem of concurrency.
The steps are like this
1.Fetch the record from database and store the primary key
value and timestamp in the session.
2.Update the same record with new values other fields using
the same session values for primary key and timestamp fields.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

differance between ADO vs ADO.Net?

1051


What is the difference between Data adaptor and Data set?

1029


What are the benefits of using of ADO.NET in .NET 4.0?

1062


What are the disadvantages of using datalist?

1021


Describe the disconnected architecture of ADO.NET’s data access model.

1054


What are the namespaces used in ADO.Net to connect to a database?

1200


What is the difference between OLEDB Provider and SqlClient?

980


Which provider is used to connect ms access, oracle, etc…?

995


What are the advantage of ado.net?

983


What are the namespaces used in ado.net for data access?

976


What are the classes in System.Data.Common Namespace?

1140


Explain the role of data provider in ado.net? What is the role of data provider in ado.net?

994


How can you identify whether or not any changes are made to the DataSet object since it was last loaded?

1030


What is execute scalar in ado.net?

954


What is the difference in an abstract class and an interface?

1002