title: DataTextField and DataValueField in WPF ComboBox?
body: <p>Is there any way we can have functionality like DataTextField and DataValueField in WPF ComboBox.</p>
  
  <p>I have this query:</p>
  
  <pre><code>   Select UID, EmployeeName from tblSystemEmployee;
  </code></pre>
  
  <p>I want to display EmployeeName in the combo box but it keeps displaying UID. Is there any way I can achieve it?  Thank you for your help?</p>
  
  <p>This is how I am populating my dataset:</p>
  
  <pre><code>     Try
          cbEmp.Items.Clear()
          Dim QueryString As String = "SELECT UID, EmployeeName FROM tblSystemEmployee"
          Dim drow As DataRow
          drow = Nothing
          dsEmp = New DataSet
  
          dsEmp = GetResult(QueryString, True)
          If IsValidDataset(dsEmp) Then
              For Each drow In dsEmp.Tables(0).Rows
                  cbEmp.Items.Add(drow(0).ToString())
  
              Next
          End If
  </code></pre>