title: WPF combobox binding not working.. It is not showing the exact value
body: <p>I will show you the exact code and output of the code...</p>
  
  <p>This is my linq .dbml file</p>
  
  <p><img src="https://i.stack.imgur.com/2nCWT.png" alt="enter image description here"></p>
  
  <p>This i the combobox cbx_contact code :</p>
  
  <pre><code> &lt;ComboBox Height="22.669" Margin="107.769,43.75,424.266,0" Name="cbx_contact" VerticalAlignment="Top" IsTabStop="True" SelectedValuePath="ContactID" IsSynchronizedWithCurrentItem="True" IsEditable="True" IsTextSearchEnabled="True"&gt;
          &lt;ComboBox.ItemTemplate&gt;
              &lt;DataTemplate&gt;
                  &lt;Grid&gt;
                      &lt;TextBlock Text="{Binding Path=ContactName}"/&gt;
                      &lt;/Grid&gt;
              &lt;/DataTemplate&gt;
          &lt;/ComboBox.ItemTemplate&gt;
      &lt;/ComboBox&gt;
  </code></pre>
  
  <p>This is the .cs file :</p>
  
  <pre><code>public Contacts()
      {
          InitializeComponent();
          DataClasses1DataContext db = new DataClasses1DataContext();
          cbx_contact.ItemsSource = db.Contacts;
          cbx_contact.SelectedIndex = 0;     
      }
  </code></pre>
  
  <p>This is the output view of the combobox :</p>
  
  <p><img src="https://i.stack.imgur.com/rAdJ8.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/RNzK8.png" alt="enter image description here"></p>
  
  <p>Here in the drop down list of combobox i get all the values but when i select any value the text does not change it gives Contact_Manager.Contact....</p>
  
  <p>I dont know what i am missing here...
  I have binded combobox like this before also it was working at that time but here it is creating probs...
  thanks in advance for the help...</p>