ArcGISCompare.msAccProcs.WriteDataLoss C# (CSharp) Method

WriteDataLoss() public method

public WriteDataLoss ( DataLossEntries theE ) : System.Boolean
theE DataLossEntries
return System.Boolean
        public Boolean WriteDataLoss(DataLossEntries theE)
        {
            OleDbCommand theCMD;
              String theSQL = "";

              try
              {
            checkOpen();
            theSQL = "INSERT INTO [DataLossProblems] ([SerialNumber], [sourceClass], [destinationClass], [sourceFieldName], [srcObjectID], [dataLoadError]) VALUES (" + theE.serialNumber + ", '" + theE.srcClass + "', '" + theE.destClass + "', '" + theE.srcAtt + "', " + theE.ObjectID + ", '" + theE.errMsg + "')";
            theCMD = new OleDbCommand(theSQL, theConn);
            theCMD.ExecuteNonQuery();
            return true;
              }
              catch (Exception ex)
              {
            return false;
              }
        }