View Single Post
  #3 (permalink)  
Old December 5th, 2005, 06:05 PM
wb8bgy wb8bgy is offline
Authorized User
Points: 111, Level: 2
Points: 111, Level: 2 Points: 111, Level: 2 Points: 111, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2005
Location: , , .
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, I am using Windows XP Professional with Service Pack 2.

The code I am using to save data is:

Private Sub ProjectsBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ProjectsBindingNavigatorSaveItem.Click

If Me.Validate Then
            Me.ProjectsBindingSource.EndEdit()
            Me.ProjectsTableAdapter.Update(Me.MKADataSet.proje cts)
        Else
            System.Windows.Forms.MessageBox.Show(Me, "Validation errors occurred.", _
            "Save", System.Windows.Forms.MessageBoxButtons.OK, _
            System.Windows.Forms.MessageBoxIcon.Warning)
        End If
    End Sub

Hope that helps. Have been trying to find an example of working code but no luck so far.

Thanks,
George Race