本文介绍了如何绘制MLM asp.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用

;WITH FamilyTree
AS
(
    SELECT *, CAST(NULL AS VARCHAR(500)) AS ParentName, 0 AS Generation
    FROM dbo.TBL_USER_MASTER
    WHERE MCID =@id 
    
    UNION ALL
    
    SELECT Fam.*,FamilyTree.UNAME AS ParentName, Generation + 1
    FROM TBL_USER_MASTER AS Fam
    INNER JOIN FamilyTree
    ON Fam.MCID = FamilyTree.UID
)
SELECT * FROM FamilyTree





到二进制结构但如何绑定到TreeView



to binary Structure but how to bind to the TreeView

推荐答案


这篇关于如何绘制MLM asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-10 11:49