Information générale
Catégorie:
Code, syntaxe and commandes
Titre:
Where to update calculated value
Versions des environnements
Network:
Windows 2003 Server
I have a form using a bindingsource/bindingnavigator on a typed dataset.
I have a BirthYear field and a DateofBirth field and a function to calculate the age based on those two values. I want to display the persons age on the form in a label or textbox.
Where is a good place to call the function so that the Age is recalculated when either value changes or the person displayed changes?
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