public void Load() { DataManagerTableAdapters.ViewEmployeeDefectTableAdapter tableAdapter = new DataManagerTableAdapters.ViewEmployeeDefectTableAdapter(); tableAdapter.Fill(_dm?.ViewEmployeeDefect); }
public void Close() { DataManagerTableAdapters.ViewEmployeeDefectTableAdapter tableAdapter = new DataManagerTableAdapters.ViewEmployeeDefectTableAdapter(); tableAdapter?.Connection?.Close(); }