예제 #1
0
 public void UpdateMaterialSheetTypesDB(MaterialSheetTypesDataSet aMaterialSheetTypesDataSet)
 {
     try
     {
         aMaterialSheetTypesTableAdapter = new MaterialSheetTypesDataSetTableAdapters.materialsheettypesTableAdapter();
         aMaterialSheetTypesTableAdapter.Update(aMaterialSheetTypesDataSet.materialsheettypes);
     }
     catch (Exception Ex)
     {
         TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Material Sheet Class // Update Material Sheet DB " + Ex.Message);
     }
 }
예제 #2
0
        public MaterialSheetTypesDataSet GetMaterialSheetTypesInfo()
        {
            try
            {
                aMaterialSheetTypesDataSet      = new MaterialSheetTypesDataSet();
                aMaterialSheetTypesTableAdapter = new MaterialSheetTypesDataSetTableAdapters.materialsheettypesTableAdapter();
                aMaterialSheetTypesTableAdapter.Fill(aMaterialSheetTypesDataSet.materialsheettypes);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Material Sheet Class // Get Material Sheet Info " + Ex.Message);
            }

            return(aMaterialSheetTypesDataSet);
        }