Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not detecting changes in DataGridView
Message
De
24/01/2007 13:41:00
Jeff Corder
Ambit Technologies, LLC
Missouri, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Not detecting changes in DataGridView
Divers
Thread ID:
01188851
Message ID:
01188851
Vues:
71
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"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform