从数据库中设置C#中的菜单 [英] Set the Menu in C# from the Database

查看:76
本文介绍了从数据库中设置C#中的菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Helloo,





i想要使用父菜单标题数据库作为主菜单和子菜单来使用C#菜单还有。



在我的数据库里我有一个像Menu这样的表,我在其中设置了两个字段。



主菜单及其子菜单..



所以,通过使用此表我想根据查询将C#菜单设置为父和子..所以,请帮助我...





在此先感谢....



Regardsss ..

Mitesh

Helloo,


i want to use the C# menu by using the Database for Caption of Parent Menu as Main Menu and Child menu also.

in my database i have one table like Menu in which i set the Two fields like.

Main Menu and Its Submenu..

so , by using this table i want to set the C# menu as Parent and child according to Query.. So, Please Help Me...


Thanks in Advance....

Regardsss..
Mitesh

推荐答案

建立数据库使用ASP.NET驱动的分层菜单 [ ^ ]

使用数据库绑定菜单控件 [ ^ ]



CP搜索 [ ^ ]
Building a Database Driven Hierarchical Menu using ASP.NET[^]
Binding Menu Control With Database[^]

CP Search[^]


您是否意识到所有关于动态事件的信息?
Have you realised all about the dynamic events ?


这篇关于从数据库中设置C#中的菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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