TableAdapters and HasChanges

  • Thread starter Thread starter JJ
  • Start date Start date
J

JJ

I am really confused about TableAdapters, Datasets in general. I have
added them to my Windows Form simply by dragging fields onto my form.
Now, when the user presses the Cancel button, and I want to determine
that something has changed, ie, If Me.MYDataSet.HasChanges = False,
then MsgBox("You Have Not Made Any Changes!"). Only problem is, if I
do make a change I get the same message. What should I be doing here?
I would prefer displaying a message indicating "No Changes Made"
versus a message saying "Add/Edit Changes have been Cancelled..." Help
me out here, and thanks for helping me thru my learning curve.
 
JJ,

I assume you have uses some kind of designers, open the code that is in the
designer part of your program, than you will see probably all those text.

Cor
 
Back
Top