public void UpdateBulkToolHistoryDB(BulkToolHistoryDataSet aBulkToolHistoryDataSet) { try { aBulkToolHistoryTableAdapter = new BulkToolHistoryDataSetTableAdapters.bulktoolhistoryTableAdapter(); aBulkToolHistoryTableAdapter.Update(aBulkToolHistoryDataSet.bulktoolhistory); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Bulk Tool History Class // Update Bulk Tool History DB " + Ex.Message); } }
public BulkToolHistoryDataSet GetBulkToolHistoryInfo() { try { aBulkToolHistoryDataSet = new BulkToolHistoryDataSet(); aBulkToolHistoryTableAdapter = new BulkToolHistoryDataSetTableAdapters.bulktoolhistoryTableAdapter(); aBulkToolHistoryTableAdapter.Fill(aBulkToolHistoryDataSet.bulktoolhistory); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Bulk Tool History Class // Get Bulk Tool History Info " + Ex.Message); } return(aBulkToolHistoryDataSet); }