DataAdapter: Concurrency violation
hello! write on c#, ado.net, dataset. have dataset , dataadapter filled it. in dataadapter override insert, update, delete commands. when use stored procedures, these commands, well. however, when use transactionns in stored procedures, exception: "concurrency violation: deletecommand affected 0 of expected 1 records." can please tell me do, , common solutions problem there? sample code , db http://dl.dropbox.com/u/46828938/datagridsample.zip reproduce problem: delete row datagrid , press "update" button. dbconcurrencyexception ("concurrency violation: deletecommand affected 0 of expected 1 records.") reproduce on:"productdataadapter.update(dataset, "products");" string.
ps:
1. sorry offtopic :)
2. example single-user: works on 1 machine / run 1 instance.
best regards!
hi ,
i think not silverlight issue.
i've found 2 links might solve problem.
i suggest post thread forums below in order more expert help:
http://social.msdn.microsoft.com/forums/is/adodotnetdataset/threads
Silverlight > Programming Silverlight with .NET – General
Comments
Post a Comment