Beispiel #1
0
 public void UpdateCellPhoneHistoryDB(CellPhoneHistoryDataSet aCellPhoneHistoryDataSet)
 {
     try
     {
         aCellPhoneHistoryTableAdapter = new CellPhoneHistoryDataSetTableAdapters.cellphonehistoryTableAdapter();
         aCellPhoneHistoryTableAdapter.Update(aCellPhoneHistoryDataSet.cellphonehistory);
     }
     catch (Exception Ex)
     {
         TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Cell Phone History Class // Update Cell Phone History DB " + Ex.Message);
     }
 }
Beispiel #2
0
        public CellPhoneHistoryDataSet GetCellPhoneHistoryInfo()
        {
            try
            {
                aCellPhoneHistoryDataSet      = new CellPhoneHistoryDataSet();
                aCellPhoneHistoryTableAdapter = new CellPhoneHistoryDataSetTableAdapters.cellphonehistoryTableAdapter();
                aCellPhoneHistoryTableAdapter.Fill(aCellPhoneHistoryDataSet.cellphonehistory);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Cell Phone History Class // Get Cell Phone History Info " + Ex.Message);
            }

            return(aCellPhoneHistoryDataSet);
        }