public Boolean LoadDataErrors(FeatureMappingData theMap, int ser)
{
OleDbCommand theCMD;
OleDbDataReader theReader;
String theSQL = "";
int theOID;
String srcC, destC, theMsg;
//LoadErrorData theEMap;
try
{
theSQL = "SELECT [sourceClass], [destinationClass], [srcObjectID], [problemDescription] FROM [FeatureLoadProblems] WHERE [SerialNumber] = " + ser;
theCMD = new OleDbCommand(theSQL, theConn);
checkOpen();
theReader = theCMD.ExecuteReader(System.Data.CommandBehavior.CloseConnection);
while (theReader.Read())
{
srcC = theReader.GetString(0);
destC = theReader.GetString(1);
theOID = theReader.GetInt32(2);
theMsg = theReader.GetString(3);
//theEMap = new LoadErrorData(ser, srcC, destC, theOID, theMsg);
//theMap.AddProblemLoad(theEMap);
}
return true;
}
catch (Exception ex) { return false; }
}