在组合框上,选择将在列表框中显示所选项目的内容. [英] on combo box selection shows content of selected item in listbox.

查看:473
本文介绍了在组合框上,选择将在列表框中显示所选项目的内容.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.
我正在使用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.

推荐答案

当然,我们无法从这里向您解释您的应用程序! :)

看看这些并阅读:
MVVM模式 [ Windows Communication Foundation常见问题解答快速入门第1部分 [ XML [ ^ ]
Surely we won''t be able to explain your application to you from here! :)

Have a look at these and read:
MVVM Pattern[^]
Windows Communication Foundation FAQ quick starter Part 1[^]
XML[^]


这篇关于在组合框上,选择将在列表框中显示所选项目的内容.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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