Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting in Gridview
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01245109
Message ID:
01245383
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform