コード例 #1
0
 public void UpdateTrailerBodyDamageDB(TrailerBodyDamageDataSet aTrailerBodyDamageDataSet)
 {
     try
     {
         aTrailerBodyDamageTableAdapter = new TrailerBodyDamageDataSetTableAdapters.trailerbodydamageTableAdapter();
         aTrailerBodyDamageTableAdapter.Update(aTrailerBodyDamageDataSet.trailerbodydamage);
     }
     catch (Exception Ex)
     {
         TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Trailer Body Damage Class // Update Trailer Body Damage DB " + Ex.Message);
     }
 }
コード例 #2
0
        public TrailerBodyDamageDataSet GetTrailerBodyDamageInfo()
        {
            try
            {
                aTrailerBodyDamageDataSet      = new TrailerBodyDamageDataSet();
                aTrailerBodyDamageTableAdapter = new TrailerBodyDamageDataSetTableAdapters.trailerbodydamageTableAdapter();
                aTrailerBodyDamageTableAdapter.Fill(aTrailerBodyDamageDataSet.trailerbodydamage);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Trailer Body Damage Class // Get Trailer Body Damage Info " + Ex.Message);
            }

            return(aTrailerBodyDamageDataSet);
        }