views:

251

answers:

0

Here is the scenario: I have a winform with bound controls to a datatable populated by a db proc call. The user makes changes to the data in the form control. They click a "save" button on that form. I want to be able to detect that the data actually changed and call a proc if true. I want to do this with ADO.net, not a homegrown dirty data detection routine. It seems that as soon as the control validates the data, it fires "end edit" or "accept changes" or something like that on the datatable, commiting the changes on the datatable. Any views on that table will show no rows for "ModifiedCurrent".

This seems like a simple request, that the whole point of databinding is so I can keep data in sync easily, and know what has been done.

Thx 4 the help :)