Ejemplo n.º 1
0
        private int GetColumnIndex(string columnName)
        {
            int index = -1;

            if (string.IsNullOrEmpty(columnName))
            {
                return(index);
            }

            var hdd = new Hexadoubledecimal(columnName);

            if (null != hdd)
            {
                index = hdd.DecValue - 1;
            }

            return(index);
        }
Ejemplo n.º 2
0
        private void GenColumnMarks()
        {
            if (this.fieldCount == 0)
            {
                return;
            }

            this.columnMarks = new string[this.fieldCount];
            for (int i = 0; i < fieldCount; i++)
            {
                var hdd = new Hexadoubledecimal(i + 1);
                if (null == hdd)
                {
                    this.columnMarks = null;

                    break;
                }

                this.columnMarks[i] = hdd.HDDValue;
            }
        }