Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Child Won't EndEdit()
I have a table with three child tables bound to various MM controls in SQL Server. When I edit a field bound to the parent table and save with or without changing focus, it works fine.
When I change a field bound to a child table, then select another control (change focus), it saves fine.
When I change a field bound to a child table and without changing focus attempt to save (form.Save(parent BizObj), it will not save (the DataRow is not updated). I am calling the form.EndEdit() method, but it doesn't seem to be updating the DataRow. The form.IsChanged() method also returns false. I can programattically change focus in debug mode and everything updates.
I would appreciate any insight someone might have.
Thanks,
Jeff
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement