Saving Data When the Application Closes
Hi,
RE Chapter 4 page 145 - 146.
When I run the example - Ex0405 - Handling Form Closing and make a change to the "Author" or "Country of Origin" text boxes and close the form the folktaleDBDataSet.HasChanges() does not seem to be activated.
Yet when I make a change to an item in the DataGrid and close the form the folktaleDBDataSet.HasChanges() is activated and the message box appears with the "Save Changes?" warning.
Questions:
1. Why does this not work on the "Author" or "Country of Origin" text boxes?
2. How do I get it to work?
Many Thanks
Kevin
|