示例#1
0
 public void UpdateITAssetAssignmentDB(ITAssetAssignmentDataSet aITAssetAssignmentDataSet)
 {
     try
     {
         aITAssetAssignmentTableAdapter = new ITAssetAssignmentDataSetTableAdapters.itassetassignmentTableAdapter();
         aITAssetAssignmentTableAdapter.Update(aITAssetAssignmentDataSet.itassetassignment);
     }
     catch (Exception Ex)
     {
         TheEventLogClass.InsertEventLogEntry(DateTime.Now, "IT Assets Class // Get IT Asset Assignment Info " + Ex.Message);
     }
 }
示例#2
0
        public ITAssetAssignmentDataSet GetITAssetAssignmentInfo()
        {
            try
            {
                aITAssetAssignmentDataSet      = new ITAssetAssignmentDataSet();
                aITAssetAssignmentTableAdapter = new ITAssetAssignmentDataSetTableAdapters.itassetassignmentTableAdapter();
                aITAssetAssignmentTableAdapter.Fill(aITAssetAssignmentDataSet.itassetassignment);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "IT Assets Class // Get IT Asset Assignment Info " + Ex.Message);
            }

            return(aITAssetAssignmentDataSet);
        }