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.

Re: TableAdapters and HasChanges by Cor

Cor
Tue Nov 28 22:32:31 CST 2006

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

"JJ" <NoEmailForMe...> schreef in bericht
news:lu0qm2tnf01v898e8ql4tq36tq17fppv0i@4ax.com...
>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.