Information générale
Catégorie:
Programmation orienté objet
Titre:
Passing a list of items to my presentation layer
Versions des environnements
Network:
Windows 2008 Server
I have created my DAL layer which will get TopMenu items and ChildMenuItems from my database.
Now I need to work on my BOL but I am totally lost!.
My presentation layer have a menu control that loads the topmenuitems and childmenuitems.
I do not know how to implement my BOL.
Here is my logic :
In my BOL I will get a dataset from my DAL (I did finished ) which contains two tables one called TopMenuItems and the other ChildMenuItems.
Now how do I implement the BOL that will pass an object to my presentation layer to build the menu.
My presentation layer contains a menu control that will loop through the TopMenus and Childmenus which shold come from my BOL.
I do not know how to implement this!!.
Please Anyhelp is appreciated.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement