adspace


What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?

Answer Posted / Kana Ram Yogi

When trying to update a record in a DataSet that has been previously deleted from SQL Server, a primary key constraint violation exception will be thrown. This is because the DataRow still exists in the DataSet but no longer exists in the database.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain element .net mobile with example? : Microsoft dot net mobile

1064


difference between Response.write,server.transfer and also which one is used when ?

1988


How does an appdomain get created?

1040


Different types of authentication modes in .net framework ?

1071


hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays

2411


How do I know when my thread pool work item has completed?

1011


Why am I getting an invalidoperationexception when I serialize an arraylist?

982


I can't be bothered with cas. Can I turn it off?

1024