Put linq to sql results into hierarchical structure for using in a un-ordered list ( for jquery tree )

后端 未结 4 703
孤独总比滥情好
孤独总比滥情好 2021-02-11 01:55

I have 5 tables in a L2S Classes dbml : Global >> Categories >> Sub-Category >> Item >> Item Data. I want to be able to navigate from the Global table down a tree like structure

4条回答
  •  日久生厌
    2021-02-11 02:51

    I think what is hanging you up is that you don't need four tables to do this.

    Look at Return unordered list from hierarchical sql data again. There aren't four tables there. There's only one.

提交回复
热议问题