使用用户控件进行动态菜单 [英] Use of user control for make dynamic menu
本文介绍了使用用户控件进行动态菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
我想制作一个绑定到我的数据库(sql server)的动态菜单(导航).我可以向其中插入新菜单和子菜单.
我认为使用用户控制来实现此目标是很好的.
有人可以帮助我吗?显示它可以帮助我的示例.
hi to all
i want make a dynamic menu(navigation)that bind to my database(sql server ).and i can insert new menu and sub menu to it .
i think use of user control for this goal is good .
anyone can help me ? a sample that show it can help me .
推荐答案
您是否看过ASP.net菜单控件?
http://msdn.microsoft.com/en-us/library/ecs0x9w5%28v = VS.100%29.aspx#CodeExamples [
Have you had a look at the ASP.net menu control?
http://msdn.microsoft.com/en-us/library/ecs0x9w5%28v=VS.100%29.aspx#CodeExamples[^]
You can bind it to data sources and control it programatically.
这篇关于使用用户控件进行动态菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文