detecting value of control on form has changed

  • Thread starter Thread starter vicky
  • Start date Start date
V

vicky

how can we check in most generic way weather any field or
control value is changed on a particular form in C#

Thanks
 
Attach event handlers to each entry field (could be done in a loop on form
load) and then in that event handler, set a flag that changes have occurred.
Then any time you want to know, you can check the value of that flag.
 
Back
Top