예제 #1
0
        private void saveHanbaiTable()
        {
            int max, idx;

            string[] sAry;

            max = m_aryRecLine.Length;
            for (idx = 0; idx < max; idx++)
            {
                sAry = m_aryRecLine[idx].Split(',');
                if (4 < sAry.Length)
                {
                    sAry[4]           = m_nCrtSougiId.ToString();
                    m_aryRecLine[idx] = m_libCmn.AryToCsvString(sAry);
                    m_libOdbc.updateHanbai(m_aryRecLine[idx]);
                }
            }
        }
예제 #2
0
        private void saveHanbaiTable()
        {
            string sTmp;

            string[] sSKAry;
            int      max, idx;

            string[] sAry;

            if (m_sSeikyusakiFilds != null && m_sSeikyusakiFilds != "")
            {
                sSKAry = m_sSeikyusakiFilds.Split(',');
            }
            else
            {
                sTmp   = "";
                sSKAry = sTmp.Split(',');
            }
            max = m_aryRecLine.Length;
            for (idx = 0; idx < max; idx++)
            {
                sAry = m_aryRecLine[idx].Split(',');
                if (4 < sAry.Length)
                {
                    sAry[3] = m_nCrtSeikyuId.ToString();
                    sAry[4] = m_nCrtSougiId.ToString();
                    if (12 < sSKAry.Length)
                    {
                        sAry[14] = sSKAry[2];
                        sAry[15] = sSKAry[3];
                        sAry[16] = sSKAry[4];
                        sAry[17] = sSKAry[5];
                        sAry[18] = sSKAry[6];
                        sAry[19] = sSKAry[7];
                        sAry[20] = sSKAry[8];
                        sAry[21] = sSKAry[9];
                        sAry[22] = sSKAry[10];
                        sAry[23] = sSKAry[11];
                    }
                    m_aryRecLine[idx] = m_libCmn.AryToCsvString(sAry);
                    m_libOdbc.updateHanbai(m_aryRecLine[idx]);
                }
            }
        }