Esempio n. 1
0
        /// <summary>
        ///   Clean up
        /// </summary>

        public void Cleanup()
        {
            if (m_xlsreader != null)
            {
                m_xlsreader.Close();
                m_xlsreader = null;
            }

            if (batch_upd != null)
            {
                batch_upd.Close();
                batch_upd = null;
            }
        }
Esempio n. 2
0
 /// <summary>
 ///   Ctor
 ///   Passes Connection string to Excel Jet Driver
 ///   and ODP.net Provider
 /// </summary>
 public CExcelDBUpdate(String OrclConnstr, CExcelReader reader)
 {
     m_xlsreader   = reader;
     m_OrclConnstr = OrclConnstr.Substring(0);
 }