日期:2014-05-18  浏览次数:21217 次

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