PC Review


Reply
Thread Tools Rate Thread

Creating a nested menu from DB

 
 
Yigit Ozgul
Guest
Posts: n/a
 
      25th May 2004
Hi,

I have a database where i keep 4 tables.
the modules table:
mdlID
mdlName
mdlstatus


the submodules table:
subID
subname
mdlID
subparentID (I put this because there can be more nests)
subStatus


the events Table:
eventID
eventNAme
subID
eventStatus

the menu table:
menuID
eventID
userID

modules.mdlID=submodule.mdlID
subModule.subID=events.eventID
menu.eventID=events.eventID


every user has many rights. that is why I chose to relate users in the
event level. I am using C# and trying to build up a nested menu
structure for a specific user, using datasets etc.

I am giving an example of a menu

DEFINITIONS
-->CUSTOMER DEFINITIONS
-->COMPANY DEF
---->COMP representative DEF


Thanks for your help

Yigit Ozgul
 
Reply With Quote
 
 
 
 
AlexS
Guest
Posts: n/a
 
      25th May 2004
Hi, Yigit

take a look at
http://msdn.microsoft.com/library/de...classtopic.asp.
You create hierarchy by assigning array of menuitems to menuItem.MenuItems
property.

HTH
Alex

"Yigit Ozgul" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have a database where i keep 4 tables.
> the modules table:
> mdlID
> mdlName
> mdlstatus
>
>
> the submodules table:
> subID
> subname
> mdlID
> subparentID (I put this because there can be more nests)
> subStatus
>
>
> the events Table:
> eventID
> eventNAme
> subID
> eventStatus
>
> the menu table:
> menuID
> eventID
> userID
>
> modules.mdlID=submodule.mdlID
> subModule.subID=events.eventID
> menu.eventID=events.eventID
>
>
> every user has many rights. that is why I chose to relate users in the
> event level. I am using C# and trying to build up a nested menu
> structure for a specific user, using datasets etc.
>
> I am giving an example of a menu
>
> DEFINITIONS
> -->CUSTOMER DEFINITIONS
> -->COMPANY DEF
> ---->COMP representative DEF
>
>
> Thanks for your help
>
> Yigit Ozgul



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating nested websites? Andy B Microsoft ASP .NET 5 21st Nov 2007 08:04 AM
Creating Nested If Fuctions =?Utf-8?B?RGVicmEgTGlzYQ==?= Microsoft Excel Worksheet Functions 3 26th Aug 2007 01:16 PM
Creating Nested Functions =?Utf-8?B?RGVicmEgTGlzYQ==?= Microsoft Excel Misc 3 26th Aug 2007 01:16 PM
Creating a nested COUNTIF???? Simon Lloyd Microsoft Excel Worksheet Functions 8 7th Sep 2005 02:30 AM
Help with Nested Menu =?Utf-8?B?UE1M?= Microsoft Frontpage 1 7th Oct 2004 09:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:22 AM.