If your controls are bound, you can trap RowChanging/RowChanged of the
datatable and you can always check for .HasChanges of the dataset that owns
the datatables.
HTH,
Bill
www.devbuzz.com
www.knowdotnet.com
"Bob" <(E-Mail Removed)> wrote in message
news:089D99A4-FE75-4934-9089-(E-Mail Removed)...
> I am developing a database app using vb.net and SQL Server. I am trying to
come up with a way I can detect if the user has made any changes/updates to
any data currently displayed on the form so that I can set a varible that I
would check when the user closes the form to promt them to save their
changes. I want to avoid writing a Sub for every Textbox_Change event in the
entire app.
>
> Any Ideas?