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 are the advantages of oledb compared with other classes?

2794


How can we load multiple tables in to dataset?

1090


What is ado full form?

1020


Does sqlclient and oledb class share the same functionality?

933


Does dapper use ado.net?

1017


What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?

998


What we do with the object of ado.net dataset after using it?

1042


What is microsoft ado.net?

1156


Which keyword is used to accept variable number of parameters?

1127


What is ole access?

948


What are all the commands used with Data Adapter?

1043


What is sqldatasource?

929


What does executequery return?

971


What is an ado?

984


Which object holds only data and does not interact with data source?

990