将鼠标移到菜单上时,应显示如何从数据库中添加菜单名称及其对应的子菜单 [英] how to add a menu names from database and their corresponding submenus should be displayed when mouse is moved over the menu

查看:66
本文介绍了将鼠标移到菜单上时,应显示如何从数据库中添加菜单名称及其对应的子菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个项目,我想在母版页中添加菜单.菜单名称应为
根据身份验证成员角色(例如:admin,项目经理,团队负责人)进行更改.菜单名称应该从数据库表中获取.我该怎么办?有人可以帮忙吗?.
我正在asp.net(c#)中进行项目.

I am doing a project in this i want to add menus in master page. and the menu name should be
change according to the authentication members role(eg:admin,Project manager,teamleader). and the menu names should be get from database table.how can i do this can anybody help?.
i am doing project in asp.net(c#).

推荐答案

这将为您提供帮助.

http://aspalliance.com/822_Building_a_Database_Driven_Hierarchical_Menu_using_ASPNET_20 [ ^ ]
This will help you.

http://aspalliance.com/822_Building_a_Database_Driven_Hierarchical_Menu_using_ASPNET_20[^]


这篇关于将鼠标移到菜单上时,应显示如何从数据库中添加菜单名称及其对应的子菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆