how to use menu control using database...
-
hi actualy i want to create dynamic menu accroding to permission of user. it should get generate dynamically..... for that i used database...there are three tables related to menus 1. tblModule -which contains module code and module description i.e. masters,search,rate entry 2. tblMenu- which contains menucode,menu desc.(bus,car,flight,train),modulecode. 3. tblSubMenu-which contains submenucode,submenuname(add new bus,del bus,modify bus,search bus,add new rate entry for bus ...etc),submenulinks(means path of aspx file i.e. Masters/bus/newBusEntery.aspx),menucode now i want to dynamically create menus according to permissions like bus|car|flight... after clicking on bus it should display the submenu in dropdown manner like this, -add new bus -modify bus -delete bus and after selecting add new bus it should display the 'newBusEntery.aspx' page which is in Masters/bus folder whose path is stored in tblSubMenu table.. please, give code samples i need it urgently and i am new in asp.net,so help me friends.... thanx..