Example #1
0
 public void UpdateDepartmentProductionEmailDB(DepartmentProductionEmailDataSet aDepartmentProductionEmailDataSet)
 {
     try
     {
         aDepartmentProductionEmailTableAdatper = new DepartmentProductionEmailDataSetTableAdapters.departmentproductionemailTableAdapter();
         aDepartmentProductionEmailTableAdatper.Update(aDepartmentProductionEmailDataSet.departmentproductionemail);
     }
     catch (Exception Ex)
     {
         TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Department Class // Get Department Production Email Info " + Ex.Message);
     }
 }
Example #2
0
        public DepartmentProductionEmailDataSet GetDepartmentProductionEmailInfo()
        {
            try
            {
                aDepartmentProductionEmailDataSet      = new DepartmentProductionEmailDataSet();
                aDepartmentProductionEmailTableAdatper = new DepartmentProductionEmailDataSetTableAdapters.departmentproductionemailTableAdapter();
                aDepartmentProductionEmailTableAdatper.Fill(aDepartmentProductionEmailDataSet.departmentproductionemail);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Department Class // Get Department Production Email Info " + Ex.Message);
            }

            return(aDepartmentProductionEmailDataSet);
        }