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
 

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