使用动态绑定DataGridComboBoxColumn解决问题 [英] Solving Problem With dynamic Binding DataGridComboBoxColumn
本文介绍了使用动态绑定DataGridComboBoxColumn解决问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有一个带有两个Data Grid Combo Box列的数据网格,第一个已绑定到数据表,第二个已绑定,这取决于第一个的选择更改
当我尝试在第一个的选择更改中执行此操作,并转到数据网格的下一行时,第一个的绑定将消失,因此所选项目也将消失,所以我该如何解决该问题? ..
hi every body ,
i have a data grid With Two Data Grid Combo Box Column the First one is Bonded to Data Table , the Second one Bonded depending on the selection changed of the first one
when i try to do that in the selection changed of the first one , and go to the next row in the data grid the binding of the first one will be disappear and so the selected item will disappear too , so how can i solve that thanks ..
推荐答案
嗨
在datagrid rowdatabound事件下重复对第一个下拉列表的选定更改事件执行的相同编码
希望对您有帮助
Hi
Repeat the same coding that you are doing on selected change event of first dropdown under datagrid rowdatabound event
Hope this helps
这篇关于使用动态绑定DataGridComboBoxColumn解决问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文