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...

I loaded the dataset with a table of 10 records. One of the
records is deleted from the backend, How do you check
whether all the 10 records were present while updating the
data(Which event and steps) and throw the exception.

Answer Posted / aashish

By Using the Transactions we can check the Exact Numbers of
the rows to be updated and if the updation fails then the
Transaction will be rollbacked.

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create data relations?

1054


how you will deal result set? How do you sort a dataset?If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?

1068


Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?

1200


Where is adodb dll located?

1004


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

1072


What is a string variable?

976


What are the different methods by which we can populate a dataset?

1287


What are typed and untyped dataset?

1155


What is the use of SqlCommandBuilder?

1258


Which parameter of ConnectionString is used to specify the name of the database?

1116


What is ole db query?

1029


How do you implement locking concept for dataset?

1050


What DataReader class do in ADO.NET ?

1173


What is ado connection?

1018


How to check if the Dataset has records ?

1056