Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not detecting changes in DataGridView
Message
 
To
24/01/2007 13:41:00
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01188851
Message ID:
01189452
Views:
17
>I have an mmDataGridView on a WinForm. The BindingSource of the mmDataGridView is registered and set as a child to the primary business object. If I make a change to the contents of the grid and navigate to the next record, I do not get a warning that data has changed.
>
>I put a break before it navigates away and the DataGridView.IsCurrentRowDirty returns true, but the object's .IsChanged() returns false. The grid is properly populating and when I save the business object, the data is saved and can be retrieved (i.e. navigate away and navigate back).
>
>Any ideas on what I've done wrong this time?
>
>Thanks,
>Jeff
>
>P.S. I'm going to rename the DataGridView to Eleanor - see "Gone in 60 Seconds"

This sounds dangerously familiar...something to do with EndEdit(). Let me try to replicate and see what I can find out.

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
Reply
Map
View

Click here to load this message in the networking platform