示例#1
0
 public void UpdateJSIUniformDB(JSIUniformDataSet aJSIUniformDataSet)
 {
     try
     {
         aJSIUniformTableAdapter = new JSIUniformDataSetTableAdapters.jsiuniformTableAdapter();
         aJSIUniformTableAdapter.Update(aJSIUniformDataSet.jsiuniform);
     }
     catch (Exception Ex)
     {
         TheEventLogClass.InsertEventLogEntry(DateTime.Now, "JSI Main Class // Update JSI Uniform DB " + Ex.Message);
     }
 }
示例#2
0
        public JSIUniformDataSet GetJSIUniformInfo()
        {
            try
            {
                aJSIUniformDataSet      = new JSIUniformDataSet();
                aJSIUniformTableAdapter = new JSIUniformDataSetTableAdapters.jsiuniformTableAdapter();
                aJSIUniformTableAdapter.Fill(aJSIUniformDataSet.jsiuniform);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "JSI Main Class // Get JSI Uniform Info " + Ex.Message);
            }

            return(aJSIUniformDataSet);
        }