Esempio n. 1
0
 public void UpdateJSIVehicleDB(JSIVehicleDataSet aJSIVehicleDataSet)
 {
     try
     {
         aJSIVehicleTableAdapter = new JSIVehicleDataSetTableAdapters.jsivehicleTableAdapter();
         aJSIVehicleTableAdapter.Update(aJSIVehicleDataSet.jsivehicle);
     }
     catch (Exception Ex)
     {
         TheEventLogClass.InsertEventLogEntry(DateTime.Now, "JSI Main Class // Update JSI Vehicle DB " + Ex.Message);
     }
 }
Esempio n. 2
0
        public JSIVehicleDataSet GetJSIVehicleInfo()
        {
            try
            {
                aJSIVehicleDataSet      = new JSIVehicleDataSet();
                aJSIVehicleTableAdapter = new JSIVehicleDataSetTableAdapters.jsivehicleTableAdapter();
                aJSIVehicleTableAdapter.Fill(aJSIVehicleDataSet.jsivehicle);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "JSI Main Class // Get JSI Vehicle Info " + Ex.Message);
            }

            return(aJSIVehicleDataSet);
        }