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 / umar topia

Have one column with in Database table with datatype as
TimeStamp and while selecting the row we will read the
TimeStamp value, which we can compare at the time of updation,

if both values are same then we can update that row
otherwise we can resist the user from updating saying that
someone has updated the row, you can't update it.

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Data Provider?

997


Explain the basic use of "dataview" and explain its methods.

948


Explain the namespaces in which .net has the data functionality class.

1021


What do you know about ado.net's methods?

1061


How to pass multiple tables in datasets simultaneously?

1016


How to find the given query is optimised one or not?

923


What is ado.net tutorial?

874


What is dataset and datatable in ado.net?

933


What are the Features of a dataset

1200


How to identify the updated rows in a dataset?

976


How to maintain the relation between two tables in ADO.NET?

959


What is connection in ado.net?

895


What connected data?

896


What is ado in agriculture?

894


What is ado.net in mvc?

882