public void UpdatePurchaseRequestUpdatesDB(PurchaseRequestUpdatesDataSet aPurchaseRequestUpdatesDataSet)
 {
     try
     {
         aPurchaseRequestUpdatesTableAdapter = new PurchaseRequestUpdatesDataSetTableAdapters.purchaserequestupdatesTableAdapter();
         aPurchaseRequestUpdatesTableAdapter.Update(aPurchaseRequestUpdatesDataSet.purchaserequestupdates);
     }
     catch (Exception Ex)
     {
         TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Purchase Request Updates Class // Update Purchase Request Updates DB " + Ex.Message);
     }
 }
        public PurchaseRequestUpdatesDataSet GetPurchaseRequestUpdatesInfo()
        {
            try
            {
                aPurchaseRequestUpdatesDataSet      = new PurchaseRequestUpdatesDataSet();
                aPurchaseRequestUpdatesTableAdapter = new PurchaseRequestUpdatesDataSetTableAdapters.purchaserequestupdatesTableAdapter();
                aPurchaseRequestUpdatesTableAdapter.Fill(aPurchaseRequestUpdatesDataSet.purchaserequestupdates);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Purchase Request Updates Class // Get Purchase Request Updates Info " + Ex.Message);
            }

            return(aPurchaseRequestUpdatesDataSet);
        }