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

后端 未结 4 1266
情话喂你
情话喂你 2021-02-11 02:32

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 03:00

    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.

提交回复
热议问题