首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

WPF中datagrid有关问题

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

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

热点排行