从ASP.NET中的数据库动态填充菜单项 [英] Dynamically populating menu items from the database in ASP.NET

查看:61
本文介绍了从ASP.NET中的数据库动态填充菜单项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从ASP.NET中的数据库动态填充菜单项
我有2张桌子mnumaster

mnuid mnuname
mnuM001无现金
mnuM002索赔
mnuM003注册
mnuM004金融
mnuM005报告
mnuM006申诉
mnuM007 RSBY
mnuM008 Insurance Co
mnuM099管理

和mnuitem

mnuid mnuitems
mnuM001无现金激励
mnuM001医生评估
mnuM001无现金上传文件
mnuM001查看上传文档
mnuM002索赔提示
mnuM002帐单输入
mnuM002索赔上传文档
mnuM002医生批准
mnuM002财务批准

基于这些,我想使用mousehover事件有条件地在菜单中显示数据
的基础上的状况.

请快速帮助我.................

How to Dynamically populating menu items from the database in ASP.NET
I have 2 tables mnumaster

mnuid mnuname
mnuM001 Cashless
mnuM002 Claims
mnuM003 Enrollment
mnuM004 Finance
mnuM005 Reports
mnuM006 Grievances
mnuM007 RSBY
mnuM008 Insurance Co
mnuM099 Administration

and mnuitem

mnuid mnuitems
mnuM001 Cashless Intimation
mnuM001 Doctor Assessment
mnuM001 Cashless Upload Documents
mnuM001 View Upload Documents
mnuM002 Claim Intimation
mnuM002 Bill Entry
mnuM002 Claim Upload Document
mnuM002 Doctor Approval
mnuM002 Finance Approval

On the bases of these, I want to display the data in the menu conditionally with mousehover event
condition on the bases of mnuid.

please help me fastly.................

推荐答案

可能是 [
May be this[^] is what you need.

You can customize the query while retrieving the menu items.


这篇关于从ASP.NET中的数据库动态填充菜单项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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