Hi everyone,
I'm making an website and I have problem generate the parent/child tree like:
Page 1
---Sub page 1
------Sub page 1 - 1
Page 2
Page 3
---Sub page 3
------Sub page 3 - 1
------Sub page 3 - 2
If I use UID, it's impossible to write the "ORDER BY" t-sql to make the tree. I'm thinking of a function that can generate the ID (varchar) such as:
001000000
---001001000
------001001001
002000000
003000000
---003001000
------003001001
------003001002
I'm still looking for a solution so if you have any exp with this kind of problem, please help me.
Thanks a lot!