public void UpdateWorkTaskDB(WorkTaskDataSet aWorkTaskDataSet)
 {
     try
     {
         aWorkTaskTableAdapter = new WorkTaskDataSetTableAdapters.worktaskTableAdapter();
         aWorkTaskTableAdapter.Update(aWorkTaskDataSet.worktask);
     }
     catch (Exception Ex)
     {
         TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Work Task Class // Update Work Task DB " + Ex.Message);
     }
 }
        public WorkTaskDataSet GetWorkTaskInfo()
        {
            try
            {
                aWorkTaskDataSet      = new WorkTaskDataSet();
                aWorkTaskTableAdapter = new WorkTaskDataSetTableAdapters.worktaskTableAdapter();
                aWorkTaskTableAdapter.Fill(aWorkTaskDataSet.worktask);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Work Task Class // Get Work Task Info " + Ex.Message);
            }

            return(aWorkTaskDataSet);
        }