Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not detecting changes in DataGridView
Message
From
24/01/2007 13:41:00
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Not detecting changes in DataGridView
Miscellaneous
Thread ID:
01188851
Message ID:
01188851
Views:
70
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"
Next
Reply
Map
View

Click here to load this message in the networking platform