title: WPF Combobox DataBound to a DataTable, Refresh automatically
body: <p>I have one <code>combobox</code> that I am <code>databinding</code> to a <code>DataTable</code> which is fetching the data from database as follows:  </p>
  
  <pre><code>SqlDataAdapter adp = new SqlDataAdapter
      (@"SELECT [CategoryID],[CategoryName]FROM [Northwind].[dbo].[Categories]", 
       @"Integrated Security=SSPI;Initial Catalog=Northwind;Data Source=AKSHAY-PC\SQLEXPRESS");
  
  DataTable tbl = new DataTable();
  adp.Fill(tbl);
  
  cmbCities.ItemsSource = ((IListSource)tbl).GetList();
  
  cmbCities.DisplayMemberPath = "[CategoryName]";
  cmbCities.SelectedValuePath = "[CategoryID]";
  </code></pre>
  
  <p>When the table data is changed(added/removed rows), the <code>combobox</code> does not get refreshed because <code>IList</code> does not have the change notification built it.  </p>
  
  <p>Is there any way it can be made possible?  </p>
  
  <p>If it's not possible, is there any way to "refresh" the databinding so that the <code>datatable</code> will fetch the data again. In this case, what I will do is execute the above code when the window is initialized and then refresh it again without needing to execute the same code again. Something like <code>cmbCities.Data.Refresh()</code>.</p>