Author: georgep30 | Posted on: 12/28/2009 9:00:25 AM | Views : 571

I am developing a database driven asp.net web site
The main table is called: page
Page Table
----------------
page_id   |   parent_page_id   | page_name |other fields...
1                   null                         home   ...
2                   1                            about
page_id: unique number
parent_page_id: The page under which a page belongs to.: about has parent_id 1
page_name: The name of the page which is unique
The application has only one aspx page, say index.aspx
If i want to access home page the url is as follows: www.mysite.index.aspx?page_id=1 or www.mysite.index.aspx?page_name=home
If i want to access about page the url is as follows: www.mysite.ind ...

Go to the complete details ...