public void UpdateRentalTrackingItemsDB(RentalTrackingItemsDataSet aRentalTrackingItemsDataSet) { try { aRentalTrackingItemsTableAdapter = new RentalTrackingItemsDataSetTableAdapters.rentaltackingitemsTableAdapter(); aRentalTrackingItemsTableAdapter.Update(aRentalTrackingItemsDataSet.rentaltackingitems); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Rental Tracking Class // Update Rental Tracking Items DB " + Ex.Message); } }
public RentalTrackingItemsDataSet GetRentalTrackingItemsInfo() { try { aRentalTrackingItemsDataSet = new RentalTrackingItemsDataSet(); aRentalTrackingItemsTableAdapter = new RentalTrackingItemsDataSetTableAdapters.rentaltackingitemsTableAdapter(); aRentalTrackingItemsTableAdapter.Fill(aRentalTrackingItemsDataSet.rentaltackingitems); } catch (Exception Ex) { TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Rental Tracking Class // Get Rental Tracking Items Info " + Ex.Message); } return(aRentalTrackingItemsDataSet); }