Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting in Gridview
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01245109
Message ID:
01245383
Vues:
26
Farouk,

>I am trying to create a gridview to display master codes from a table. When I tried to delete a row, I have the following message:
>
>Concurrency violation: the DeleteCommand affected 0 of the expected 1 records.

Can you post the full stack trace so I can better see what's happening. Do you have any child business object relationships set up? Is ImmediateDelete true or false on this business object?

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