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

后端 未结 4 696
孤独总比滥情好
孤独总比滥情好 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:47

    You can use the Union operator to mash your four tables together. http://weblogs.asp.net/zeeshanhirani/archive/2008/04/11/union-operator-part-12.aspx

提交回复
热议问题