Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Concurrency violation: the DeleteCommand affected 0 of t
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01221815
Message ID:
01223211
Views:
23
Yassin,

>I have a very simple Business object that reads, write,delete and selects from a single table. When I try to delete a record I get
>Concurrency violation: the DeleteCommand affected 0 of the expected 1 records.

Can you describe what your form is doing? It seems unusual to get a concurrency violation when deleting. It looks like you are using an mmButtonDelete instance on your form. Have you specified a primary business object on your form or have you set the button's BindingSource property?

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform