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