public void UpdateEventLogDB(EventLogDataSet aEventLogDataSet) { try { aEventLogTableAdapter = new EventLogDataSetTableAdapters.eventlogTableAdapter(); aEventLogTableAdapter.Update(aEventLogDataSet.eventlog); } catch (Exception) { } }
public EventLogDataSet GetEventLogInfo() { try { aEventLogDataSet = new EventLogDataSet(); aEventLogTableAdapter = new EventLogDataSetTableAdapters.eventlogTableAdapter(); aEventLogTableAdapter.Fill(aEventLogDataSet.eventlog); } catch (Exception) { } return(aEventLogDataSet); }