Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Concurrency violation: the DeleteCommand affected 0 of t
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01221815
Message ID:
01223211
Vues:
16
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform