public void UpdateProductivityNotCorrectDB(ProductivityNotCorrectDataSet aProductivityNotCorrectDataSet) { try { aProductivityNotCorrectTableAdapter = new ProductivityNotCorrectDataSetTableAdapters.productivitynotcorrectTableAdapter(); aProductivityNotCorrectTableAdapter.Update(aProductivityNotCorrectDataSet.productivitynotcorrect); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Employee Project Assignment Class // Update Productivity Not Correct DB " + Ex.Message); } }
public ProductivityNotCorrectDataSet GetProductivityNotCorrectInfo() { try { aProductivityNotCorrectDataSet = new ProductivityNotCorrectDataSet(); aProductivityNotCorrectTableAdapter = new ProductivityNotCorrectDataSetTableAdapters.productivitynotcorrectTableAdapter(); aProductivityNotCorrectTableAdapter.Fill(aProductivityNotCorrectDataSet.productivitynotcorrect); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Employee Project Assignment Class // Get Productivity Not Correct Info " + Ex.Message); } return(aProductivityNotCorrectDataSet); }