Home > Net >  WPF DataGridComboBoxColumn how to obtain selected value
WPF DataGridComboBoxColumn how to obtain selected value

Time:11-05

 & lt; DataGridComboBoxColumn Header="special requirements" x: Name="cbo_Special" Width="2 *"/& gt; 

DataGridComboBoxColumn column is set in the DataGrid, binding the drop-down list data
 DataTable dt1=myClient. Button_Click_SelectSpecial (). The Tables [0]; 
Cbo_Special. ItemsSource=dt1. DefaultView;
Cbo_Special. DisplayMemberPath="SpecialName";
Cbo_Special. SelectedValuePath="SpecialID";

Want to get it selected values, how to get
  •  Tags:  
  • C#
  • Related