Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / January 2006

Tip: Looking for answers? Try searching our database.

How can I find BindingSource has some changed data.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
A.M-SG - 31 Jan 2006 16:30 GMT
Hi,

In my WinForms application, I have a set of controls that are bound to a
BindingSource control.

When the user closes the form, I need to ask him if he wants to save data.

The problem is I cannot find anyway to check if the value of any textboxes
is changed!

Obviously checking DataSet.HasChange is not adequate. The reason is that the
user might be in middle of adding or editing a record so the record has not
been reflected to underlying dataset yet, but user accidentally clicks on
form close button.

Any help would be appreciated,

Alan
dbuchanan - 31 Jan 2006 21:28 GMT
Alan,

Check out the "DataRowState Enumeration" in help

Doug
dbuchanan - 31 Jan 2006 21:32 GMT
Alan,

Also check out "How to: Check for Changed Rows" in help

Doug

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.