using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace AppliedDataBindingSample { public partial class DragAndDropDetailsViewForm : Form { public DragAndDropDetailsViewForm() { InitializeComponent(); } private void employeesBindingNavigatorSaveItem_Click(object sender, EventArgs e) { this.Validate(); this.employeesBindingSource.EndEdit(); this.employeesTableAdapter.Update(this.northwindDataSet.Employees); } private void DragAndDropDetailsViewForm_Load(object sender, EventArgs e) { // TODO: This line of code loads data into the 'northwindDataSet.Employees' table. You can move, or remove it, as needed. this.employeesTableAdapter.Fill(this.northwindDataSet.Employees); } } }