Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Binding coming undone?
I have a Purchase Order form. POs table with POsItems as a child in a datagridview. When a change is made to the POsItems, I calculate the new subtotal and update the business object and it is displayed in the bound control. Everything works fine. After I edit the discount field control (also a bound control in the POs table), it seems the link between the control and the business object is broken. When I update the business object, the change is not reflected in the bound control. I thought I was doing it backwards, so I tried updating the control, but the business object does not update.
Upon further investigation, it seems that if I make a change to any of the POs business object bound controls, changing the business object data is no longer reflected in the bound control.
I'm sure I've done something colossally stupid, but I can't think of what it might be.
Any suggestions?
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