HighTechTalks DotNet Forums  

How do I know if a databound form has been updated?

Dotnet Framework (WinForms DataBinding) microsoft.public.dotnet.framework.windowsforms.databinding


Discuss How do I know if a databound form has been updated? in the Dotnet Framework (WinForms DataBinding) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
ValMac
 
Posts: n/a

Default How do I know if a databound form has been updated? - 05-16-2011 , 12:22 AM






I have a vb.net 2010 application using databinding to a MSAccess 2000 database (Don’t ask – it’s what the client is using). The application is similar to a Customers/orders application. The “Customer” fields are databound controls on the form and the ‘orders’ are in a DataGridView. Several of the controls in both the form and the dgv are comboboxes bound to other tables from the database. The user can select new customers, edit customer details, add or delete orders and also create new customers. Some updates also occur behind the scenes when field or column values are changed in response user changes.

My problems arise when the user changes the customer. I want to prompt him/her to save changes if necessary. What is the simplest way to find out if any changes have been made? It ought to be easy but after numerous hours of trying different things that don’t work I need help. I’m new to databinding and fairly new to VB.NET so forgive me if this is a really stupid question.

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.