2010-10-01 71 views
0

考虑以下数据库表和样本数据:嵌套组和TreeView控件

Locations 
Id ParentId LeftIndex RightIndex Description 
-- -------- --------- ---------- ----------- 
34 2   85   104   Florida Region 
73 34  94   95   Miami 

Products 
Id ParentLocationId Code Description 
-- ---------------- ---- ----------- 
1 73    MIW0 Miami Magazines 

我使用的是一组嵌套为我的层次结构数据。我想要做的是将我的位置和产品一起显示在可折叠树视图控件中。在继续之前,我会不知何故必须合并表格?请在各个领域提供建议(见标签)

谢谢,

杆。

回答