Custom site map development (get structure from database table)

Discussion in 'ASP .Net Building Controls' started by Rastko Soskic, Apr 18, 2007.

  1. Hi everyone.

    I need to develop site map control that will render <ul> and <li> tags with
    <a>s :) to pages;
    I have pages and their structure in table in db (pageId, pageTitle,
    parentPageId) (pages are dynamically rendered)

    What is the best way to translate such relational structure into hierarchy
    (tree/xml) so I can create ui/li structure.

    I've tried some recursive algorithms but no luck.

    Anyone who has idea, tip, suggestion, sample? Thanks for help in advance!!!
     
    Rastko Soskic, Apr 18, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeff
    Replies:
    0
    Views:
    1,619
  2. Guest
    Replies:
    0
    Views:
    324
    Guest
    Aug 11, 2003
  3. Mufasa
    Replies:
    3
    Views:
    301
    Mufasa
    May 8, 2007
  4. CNA Programming Group

    Custom web design and web site development

    CNA Programming Group, Aug 31, 2004, in forum: Perl Misc
    Replies:
    4
    Views:
    112
  5. Replies:
    2
    Views:
    269
    Rui Maciel
    Dec 12, 2012
Loading...

Share This Page