public void UpdateJSILadderInspectionDB(JSILadderInspectionDataSet aJSILadderInspectionDataSet) { try { aJSILadderInspectionTableAdapter = new JSILadderInspectionDataSetTableAdapters.jsiladderinspectionTableAdapter(); aJSILadderInspectionTableAdapter.Update(aJSILadderInspectionDataSet.jsiladderinspection); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "JSI Main Class // Update JSI Ladder Inspection DB " + Ex.Message); } }
public JSILadderInspectionDataSet GetJSILadderInspectionInfo() { try { aJSILadderInspectionDataSet = new JSILadderInspectionDataSet(); aJSILadderInspectionTableAdapter = new JSILadderInspectionDataSetTableAdapters.jsiladderinspectionTableAdapter(); aJSILadderInspectionTableAdapter.Fill(aJSILadderInspectionDataSet.jsiladderinspection); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "JSI Main Class // Get JSI Ladder Inspection Info " + Ex.Message); } return(aJSILadderInspectionDataSet); }