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.
 
thank for ur help
can u please be more specific by giving any code sample for it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top