m_ExcelClient.openConnection(); --Then fetching of data from excel and afterwards below code. try { if (m_ExcelClient != null) { m_ExcelClient.closeConnection(); m_ExcelClient = null; } GC.Collect(); File.Move(FilePath, CopyDestinationPath); } catch (Exception ex) { Common.WriteTextFile(ErrorLogPath, ex.Message); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)