예제 #1
0
        private void initKdenDB()
        {
            string sFileName;

            string[] sLine;

            // データベース初期化
            m_libOdbc.createUseTable();
            sFileName = m_sExecPath + "\\kden\\syouhin.txt";
            sLine     = m_libCmn.LoadFileLineSJIS(sFileName);
            m_libOdbc.initSyouhinRecords(sLine);

            /*
             * sFileName = m_sExecPath + "\\kden\\seikyusaki.txt";
             * sLine = m_libCmn.LoadFileLineSJIS(sFileName);
             * m_libOdbc.initSeikyusakiRecords(sLine);
             * sFileName = m_sExecPath + "\\kden\\sasidasinin.txt";
             * sLine = m_libCmn.LoadFileLineSJIS(sFileName);
             * m_libOdbc.initSasidasininRecords(sLine);
             * sFileName = m_sExecPath + "\\kden\\furikomisaki.txt";
             * sLine = m_libCmn.LoadFileLineSJIS(sFileName);
             * m_libOdbc.initFurikomisakiRecords(sLine);
             */
            sFileName = m_sExecPath + "\\kden\\seikyukubun.txt";
            sLine     = m_libCmn.LoadFileLineSJIS(sFileName);
            m_libOdbc.initSkkubunRecords(sLine);

            //m_libOdbc.testDataCreate();
        }