ArcGISCompare.msAccProcs.WriteLoadErrors C# (CSharp) Method

WriteLoadErrors() public method

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

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