Exemple #1
0
 public void UpdateEventLogDB(EventLogDataSet aEventLogDataSet)
 {
     try
     {
         aEventLogTableAdapter = new EventLogDataSetTableAdapters.eventlogTableAdapter();
         aEventLogTableAdapter.Update(aEventLogDataSet.eventlog);
     }
     catch (Exception)
     {
     }
 }
Exemple #2
0
        public EventLogDataSet GetEventLogInfo()
        {
            try
            {
                aEventLogDataSet      = new EventLogDataSet();
                aEventLogTableAdapter = new EventLogDataSetTableAdapters.eventlogTableAdapter();
                aEventLogTableAdapter.Fill(aEventLogDataSet.eventlog);
            }
            catch (Exception)
            {
            }

            return(aEventLogDataSet);
        }