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); } }
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); }