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); } }
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); }