读书人

WPF中datagrid有关问题

发布时间: 2012-05-06 16:15:43 作者: rapoo

WPF中datagrid问题
DataGird中DataGridComboBoxColumn默认值怎么设置,我找不到MSDN上的详细解决资料,请教一下!

[解决办法]
u can use SelectedValue property....for the combo box...
take care about the selecedindexchange event...for tha caombo....cos as u will change the combobox's SelectedValue paroperty its SelctedIndex will change hence causing event to occur....

hope u will get some idea from this....

http://www.codeproject.com/Articles/7307/ComboBox-in-a-DataGrid

读书人网 >C#

热点推荐