예제 #1
0
        private void CreateColItems()
        {
            colItems = new CSVColItem[attribCount];
            for (int colIndex = 0; colIndex < attribCount; colIndex++) {
                colItems [colIndex] = new CSVColItem (heads [colIndex], types [colIndex], itemCount);

                for (int itemIndex = 0; itemIndex < itemCount; itemIndex++) {
                    colItems [colIndex].SetValue (itemIndex, values [itemIndex] [colIndex]);
                }
            }
        }
예제 #2
0
        private void CreateColItems()
        {
            colItems = new CSVColItem[attribCount];
            for (int colIndex = 0; colIndex < attribCount; colIndex++)
            {
                colItems [colIndex] = new CSVColItem(heads [colIndex], types [colIndex], itemCount);

                for (int itemIndex = 0; itemIndex < itemCount; itemIndex++)
                {
                    colItems [colIndex].SetValue(itemIndex, values [itemIndex] [colIndex]);
                }
            }
        }