WPF中的多个数据集更新 [英] Multiple dataset updation in WPF
问题描述
亲爱的所有人,
我怀疑以下概念.请指导我.
在一个屏幕中,使用了多个表值.父表具有ID和名称.子表具有相应的ID详细信息.外键是id
在屏幕上.
------------
父表值显示在数据网格中.子表列显示在选项卡项目中.每个选项卡都有每个表的详细信息.我想更改光标在网格中更改的对应ID,详细信息将在选项卡项目中更改.
同样在此屏幕中,还有添加和编辑选项.编辑的选项卡项目详细信息将保存在对应的表中.
指导我如何在屏幕中关联多个表.
谢谢,
拉加兹,
Mahalakshmi S.
Dear All,
I have doubt the below concept. Please guide me.
In one screen,have used multiple table values. parent table have id and name. child tables have corresponding ids details. foreign key is id
In Screen.
------------
parent table values display in data grid. child table columns are displayed in tab items. each tab have each table details. i want to change the cursor changed in grid corresponding id is details will be changed in tab items.
Also in this screen add and edit option is there. edited tab items details are saved corresponding tables.
Guide me how to related the multiple table in a screen.
Thanks,
Ragards,
Mahalakshmi S.
推荐答案
,您可以使用RowDetails在DataGrid中实现主子关系.
you can use RowDetails to implement Master-Child relation in DataGrid.
这篇关于WPF中的多个数据集更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!