using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ConfigToolsExample { public partial class FrmConfigTools : Form { public FrmConfigTools() { InitializeComponent(); } private void studentBindingNavigatorSaveItem_Click(object sender, EventArgs e) { this.Validate(); this.studentBindingSource.EndEdit(); this.tableAdapterManager.UpdateAll(this.studentDataBaseDataSet); } private void Form1_Load(object sender, EventArgs e) { // TODO: This line of code loads data into the 'studentDataBaseDataSet.Student' table. You can move, or remove it, as needed. this.studentTableAdapter.Fill(this.studentDataBaseDataSet.Student); } private void btnRetrieve_Click(object sender, EventArgs e) { studentTableAdapter.FillByLastName (studentDataBaseDataSet.Student, txtBxLastName.Text); } } }