Author: Pradeep Kintali Member Level: Gold Member Rank: 265 Date: 06/Aug/2007 Rating:  Points: 2 |
Create a User Control for this one.
In DataBase create a Table called Menus
column names. ColumnId ColumnName PageURL ParentId -------- --------- -------- -------- 1 FILE file.aspx 0 2. ADD add.aspx 1 3. DELETE DELETE.aspx 1 4 TOOLS Tools.aspx 0 5. SHOWALL SHOWALL.aspx 4
take above table withd data
and build the logic get the data from Data base and prepare a recursive function.
first get all the Menu Items whose Parent id =0
and iterate for each parent Id for Child Items.
Add those items as childs to the parent.
u can do this using a HTMLTable.
|
Author: Vasudevan Deepak Kumar Member Level: Diamond Member Rank: 32 Date: 06/Aug/2007 Rating:  Points: 2 |
Did you check http://www.dynamicdrive.com/?
---- Deepak Vasudevan Thamizhth Thendral
|