public void UpdateTrailerProblemUpdateDB(TrailerProblemUpdateDataSet aTrailerProblemUdateDataSet) { try { aTrailerProblemUpdateTableAdapter = new TrailerProblemUpdateDataSetTableAdapters.trailerproblemupdateTableAdapter(); aTrailerProblemUpdateTableAdapter.Update(aTrailerProblemUdateDataSet.trailerproblemupdate); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Trailer Problem Update Class // Update Trailer Problem Update DB " + Ex.Message); } }
public TrailerProblemUpdateDataSet GetTrailerProblemUpdateInfo() { try { aTrailerProblemUdateDataSet = new TrailerProblemUpdateDataSet(); aTrailerProblemUpdateTableAdapter = new TrailerProblemUpdateDataSetTableAdapters.trailerproblemupdateTableAdapter(); aTrailerProblemUpdateTableAdapter.Fill(aTrailerProblemUdateDataSet.trailerproblemupdate); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Trailer Problem Update Class // Get Trailer Problem Update Info " + Ex.Message); } return(aTrailerProblemUdateDataSet); }