General information
Category:
The Mere Mortals .NET Framework
Title:
Not detecting changes in DataGridView
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only