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!

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.