We help IT Professionals succeed at work.
Get Started

How to detect if data has changed on a VB.net 2010 windows form

656 Views
Last Modified: 2016-01-06
Coming from a long background in VB6 I can get creative with detecting 'isDirty' with key down, mouse down and such. With what I've found on the web, that process from VB6 seems like it is either overly complicated (or under complicated) comparatively for  vb.net.

My form contains a mixture of (all bound to Access tables)  masked text, textbox, Combobox and DateTime picker.

I've searched far and wide and am astounded by the diversity of ideas to process these events; which is why I'm back here.

Questions:
1. What are best (accepted) practices to handle this?
2. Code sample?
Comment
Watch Question
Top Expert 2015
Commented:
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE