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 dataset and datatable in ado.net?

1042


Explain the overview of ado.net architecture?

1119


What are the steps to connect to a database?

1069


What are the steps you will take to improve performance?

939


How do you implement locking concept for dataset?

1044


What is data relation?

969


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

1045


How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

1084


What are the difference between readonly vs. Const?

1059


What is ole word?

1012


Explain what is datagrid with an example?

1145


How to creating a SqlCommand Object?

1197


What is the role of clr?

1001


The answers which posted above is not satisfied my requirement? Can some one post teh exact answer? Thanx

2080


Explain all the classes those are used for database connections between sql server and asp.net?

1059