title: Bind column from datatable to combobox
body: <p>I am trying to bind DataTable column to combobox, I have DataTable Names "Types" with one column, the header of this column is "Type".</p>
  
  <p>I have tried the following:</p>
  
  <pre><code>private DataTable dt;
  public MainWindow()
  {
     InitializeComponent();
     dt=Query();// return datatable from the database
     myComboBox.DataContext =dt;
  }
  </code></pre>
  
  <p>but the combobox is still empty (the datatable isn't)</p>
  
  <p>I have tried <a href="https://stackoverflow.com/a/256871/10705051">this</a> answer, but in my C# wpf I have no <code>myComboBox.ComboBox.DataSource</code> property</p>