问题描述
大家好.
我正在使用mvvm开发Silverlight 4(c#,visual studion2010).
在我的应用程序中,我有一个组合框和列表框.
在组合框中,我正在显示员工属性表中的属性名称.
每个属性名称都有自己的表.
EG-in属性名称字段具有department.so部门在数据库中具有自己的表.
所以当我在组合框中选择一个项目时我需要吗.然后在列表框中显示所选项目的内容.
例如,假设我选择了部门,然后在列表框中应显示部门表内容.
请帮助我如何做到这一点.我没有逻辑.
请向我解释所有代码(viewmodel,xml,wcf服务)
我希望我已经xplained,所以所有人都可以在正确的方向帮助我.
请尽快解决我的问题.
hi guys..
i am working on silverlight 4(c#,visual studion2010) using mvvm.
in my application i hav one combo box and listbox.
in combo box i am showing attribute name which is in employee attribute table.
every attribute name has his own table.
EG-in attribute name field has department.so department has his own table in database.
so wats i need when i select a item in combo box.then in list box shows a content of a selected item.
eg-suppose i select department then in listbox it should show the department table contents.
pls help how i do this.m not getting logic.
pls explain me with all code(viewmodel,xml,wcf service)
i hop dat i hav xplained enough so dat you all can help me in right direction.
pls solve my this problem as soon as possible.
推荐答案
这篇关于在组合框上,选择将在列表框中显示所选项目的内容.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!