View Single Post
  #3 (permalink)  
Old 07-08-2009, 12:27 PM
daxriders daxriders is offline
VB.NET Forum Newbie
.NET Framework: .NET 3.0 (VS 2005/2008)
 
Join Date: Jul 2009
Age: 32
Posts: 3
Reputation: 0
daxriders is on a distinguished programming path ahead
Default

the solution i found so far, is to have the same bindingsource for the datagridview(1st form) and the textboxes(2nd form), like this:

Code:
Me.txtName.DataBindings.Add(New System.Windows.Forms.Binding("Text", frmPersonenListe.TblPersonenBindingSource, "Name", True))
My problem now is that the changes made in the textboxes are applied directly to the datagridview.
How can i let the user confirm saving the changes before closing the form?
And if not confirmed, to leave the data unchanged?
Reply With Quote