Пример #1
0
        private void ResetControls()
        {
            txtEnterSeachTerm.Text = "";

            TheFindActiveServerLogSearchTermsDataSet = TheEventLogClass.FindActiveServerLogSearchTerms();

            dgrResult.ItemsSource = TheFindActiveServerLogSearchTermsDataSet.FindActiveServerLogSearchTerms;
        }
Пример #2
0
        public FindActiveServerLogSearchTermsDataSet FindActiveServerLogSearchTerms()
        {
            try
            {
                aFindActiveServerLogSearchTermsDataSet      = new FindActiveServerLogSearchTermsDataSet();
                aFindActiveServerLogSearchTermsTableAdapter = new FindActiveServerLogSearchTermsDataSetTableAdapters.FindActiveServerLogSearchTermsTableAdapter();
                aFindActiveServerLogSearchTermsTableAdapter.Fill(aFindActiveServerLogSearchTermsDataSet.FindActiveServerLogSearchTerms);
            }
            catch (Exception ex)
            {
                InsertEventLogEntry(DateTime.Now, "Event Log Class // Find Active Server Log Search Terms " + ex.Message);
            }

            return(aFindActiveServerLogSearchTermsDataSet);
        }