コード例 #1
0
 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);
     }
 }
コード例 #2
0
        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);
        }