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


What happens when u try to update data in a dataset in .NET
while the record is already deleted in SQL SERVER as backend?

Answers were Sorted based on User's Feedback



What happens when u try to update data in a dataset in .NET while the record is already deleted in ..

Answer / vaidyanathan r.

If the updating is done in DataSet then there will be no
error. It will work fine. Because Dataset is totally
disconnected from the Database and unaware of changes
happened in the backend. The user is free to update the
dataset.

Once the changed data is updated in the database(backend)
then an SQLException will be thrown.

Is This Answer Correct ?    19 Yes 0 No

What happens when u try to update data in a dataset in .NET while the record is already deleted in ..

Answer / rahul

no error happened because data set is totaly worked in
discontecd form.it will unaware of changes happened in the
backend.

but if we are trying to update original database using data
set then SQLException will be thrown

Is This Answer Correct ?    13 Yes 0 No

What happens when u try to update data in a dataset in .NET while the record is already deleted in ..

Answer / sabir

it thorgh the execption that the object is not available

Is This Answer Correct ?    5 Yes 4 No

What happens when u try to update data in a dataset in .NET while the record is already deleted in ..

Answer / vasudevan

Throws Exeption object is not availabe

Is This Answer Correct ?    5 Yes 4 No

What happens when u try to update data in a dataset in .NET while the record is already deleted in ..

Answer / vaidyanathan r.

An SQLException object is thrown

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More ADO.NET Interview Questions

how can implement dropdownlist in particular of dataset when try to update?

0 Answers   TCS,


What is sqldatareader in ado.net?

0 Answers  


What is difference between dataset and datatable?

0 Answers  


How to check if the Dataset has records ?

0 Answers   NA,


HOW TO FILL GRID VIEW WITH OUT USING SQLDATASOURCE AND PROGRAMING?

4 Answers  


What is sqlconnection and sqlcommand?

0 Answers  


Explain what is datagrid with an example?

0 Answers   C DAC, CDAC,


What is ado asp?

0 Answers  


What are two important objects of ADO.Net?

0 Answers  


What is microsoft ado?

0 Answers  


What is the difference between executequery and executenonquery?

0 Answers  


What are the functions of oledbdataadapter?

4 Answers  


Categories