You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
can anyone please help me in creating dynamic menu taking data from my sql database. ihave a main menu table and sub menu table and the contents in it will be as follows:
MainMenuID MainMenuName
1 Year 1
5 Year 2
11 Year 3
15 Year 4
21 Year 5
25 Seminar & Projects
97 User Actions
98 User Actions
99 Reports
MainMenuID MenuID MenuName FileName
1 1 Fund. Of Computers DisplayFiles.aspx
1 2 Q Basic DisplayFiles.aspx
1 3 Office DisplayFiles.aspx
1 4 C DisplayFiles.aspx
1 5 Electronics DisplayFiles.aspx
1 6 Maths - I DisplayFiles.aspx
1 7 Maths - II DisplayFiles.aspx
1 8 Practical I DisplayFiles.aspx
1 9 Practical II DisplayFiles.aspx
1 10 DS DisplayFiles.aspx
5 21 subject name DisplayFiles.aspx
5 22 subject name DisplayFiles.aspx
5 23 subject name DisplayFiles.aspx
5 24 subject name DisplayFiles.aspx
5 25 subject name DisplayFiles.aspx
5 26 subject name DisplayFiles.aspx
5 27 subject name DisplayFiles.aspx
5 28 subject name DisplayFiles.aspx
5 29 subject name DisplayFiles.aspx
5 30 subject name DisplayFiles.aspx
and so on....
i will be realy thankful to the one who helps me in doing it.