<ComboBox Height="23" HorizontalAlignment="Left" Margin="346,193,0,0" Name="CmbBank" VerticalAlignment="Top" Width="120" ItemsSource="{Binding}"> <ComboBoxItem Content="ICICI BANK" /> <ComboBoxItem Content="IDBI BANK" /> <ComboBoxItem Content="HDFC BANK" /> <ComboBoxItem Content="INDIAN BANK" /> <ComboBoxItem Content="Indian Overseas Bank" /> <ComboBoxItem Content="SBI" /> </ComboBox>
string strBranch=((ComboBoxItem)this.CmbBank.SelectedValue).Content.ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)