Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="columns"></param>
        /// <param name="header"></param>
        public ResultSet(string[] columns, NameObjectCollection header)
        {
            this.header  = header;
            this.config  = null;
            this.columns = new StringList();
            this.data    = new ArrayListList();

            if (columns != null)
            {
                foreach (string col in columns)
                {
                    this.columns.Add(col);
                }
            }
        }
Esempio n. 2
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="columns"></param>
        /// <param name="header"></param>
        public ResultSet(string[] columns, NameObjectCollection header)
        {
            this.header = header;
            this.config = null;
            this.columns = new StringList();
            this.data = new ArrayListList();

            if (columns != null) {
                foreach (string col in columns)
                    this.columns.Add(col);
            }
        }