How To Create Dynamic Menu In MVC 4.0?
Even i checked below link.. what type of Table structure i should create in Sql Server.
http://www.dotnetcurry.com/ShowArticle.aspx?ID=811
http://www.dotnetcurry.com/ShowArticle.aspx?ID=811
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Jan 20, 2014, 1:29 AM EST
If you want to follow DB-first approach then create a table called Menu & MenuItem with the columns as mentioned in Menu & MenuItem models [classes] in that post.
Or it can be simply,
MenuID MenuName MenuLocation ParentID
1 ParentItem1 NULL 0
2 ParentItem2 NULL 0
3 ParentItem3 NULL 0
11 SubMenuItem1NULL 1
12 SubMenuItem2NULL 1
21 SubMenuItem3NULL 2
Add fields which you want.....