// Display most current data contained in Database private void RefreshDB() { // Dispose of old database object if object exists. if (dbcontext != null) { dbcontext.Dispose(); } // Create new database model object. dbcontext = new PersonnelDB.PersonnelEntities(); // Load object with content of database. dbcontext.Employees.Load(); // Display fresh content in EmployeeTable form. employeeBindingSource.DataSource = dbcontext.Employees.Local; }