如何将菜单栏与数据库值绑定 [英] How to bind Menu strip with database values
问题描述
大家好
我想使用数据库值绑定menustrip.我的桌子包含
MenuId ParentId操作
没有任何融资null
不购买任何商品
掌握金融学
大师购买
跨境金融
transn购买
报告财务
加工财务
设置财务
公司硕士
会计大师
Masters frmSupplier供应商
菜单栏的形式
金融
大师
公司
帐户
供应商
Transn
报告
设置
购买
大师
Transn
报告
设置
子项出现,直到动作不等于null
任何人都可以提供相同代码的示例代码吗?
在此先感谢
Hi all
I want to bind menustrip using database values . My table contains
MenuId ParentId Action
finance nothing null
Purchase nothing null
Masters finance
Masters Purchase
transn finance
transn Purchase
Reports finance
Processing finance
Setup finance
Company Masters
Accounts Masters
supplier Masters frmSupplier
Menu strip in the form
Finance
Masters
Company
Accounts
Supplier
Transn
Report
Setup
Purchase
Masters
Transn
Report
Setup
Sub items comes untill action not equal to null
Can anybody give sample coding for the same
Thanks in Advance
推荐答案
^ ]的文章可能会对您有所帮助.
This[^] article might be of help to you.
这篇关于如何将菜单栏与数据库值绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!