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); } }
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); }