public void UpdateVehicleProblemUpdateDB(VehicleProblemUpdateDataSet aVehicleProblemUpdateDataSet) { try { aVehicleProblemUpdateTableAdapter = new VehicleProblemUpdateDataSetTableAdapters.vehicleproblemupdateTableAdapter(); aVehicleProblemUpdateTableAdapter.Update(aVehicleProblemUpdateDataSet.vehicleproblemupdate); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Vehicle Problem Class // Update Vehicle Problem Update DB " + Ex.Message); } }
public VehicleProblemUpdateDataSet GetVehicleProblemUpdateInfo() { try { aVehicleProblemUpdateDataSet = new VehicleProblemUpdateDataSet(); aVehicleProblemUpdateTableAdapter = new VehicleProblemUpdateDataSetTableAdapters.vehicleproblemupdateTableAdapter(); aVehicleProblemUpdateTableAdapter.Fill(aVehicleProblemUpdateDataSet.vehicleproblemupdate); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Vehicle Problem Class // Get Vehicle Problem Update Info " + Ex.Message); } return(aVehicleProblemUpdateDataSet); }