Private Sub SaveToolStripButton_Click(sender As Object, e As EventArgs) Handles SaveToolStripButton.Click Me.Table1BindingSource.EndEdit() If DataSet11.HasChanges Then Try SqlDataAdapter1.Update(DataSet11, "Table_1") DataSet11.AcceptChanges() Catch eUpdate As System.Exception 'Throw eUpdate MsgBox(eUpdate.Message.ToString) End Try End If End Sub
Me.BindingContext(DataSet11, "Table_1").EndCurrentEdit()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)