Hello. I want to use list of URLs in database and create a website hierarchy. The table only contains URLs as following:

http://www.sample.com/
http://www.sample.com/post1/
http://www.sample.com/post2/

Then I would like to create a hierarchy looks like this:

    example1
        |
    --------
    |      |
 post1    post2

My idea was to import the data (list of URLs) to a text file and use c# to create a hirarchy. However, I don't know how to do it. Could you please help me with this?

Thank you very much for your time!

Re: take list of URLs from database and create hierarchy 80 80

anak saya telalu lemah dalam matematik bagaimana ingin menimbulkan minatnnya dalam matematik.(1-1000)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.