コード例 #1
0
        //
        // 树型结构的算法,递归算法
        //

        #region public DataTable GetParentsByCode(string fieldCode, string code, string order) 获取父节点列表
        /// <summary>
        /// 获取父节点列表
        /// </summary>
        /// <param name="fieldCode">编码字段</param>
        /// <param name="code">编码</param>
        /// <param name="order">排序</param>
        /// <returns>数据表</returns>
        public DataTable GetParentsByCode(string fieldCode, string code, string order)
        {
            return(DbLogic.GetParentsByCode(DbHelper, this.CurrentTableName, fieldCode, code, order));
        }