title: Update Listbox after inserting a row into database
body: <p>I have bound a <code>ListBox</code> to a SQL CE database with this code:</p>
  <pre><code>ItemsSource=&quot;{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:DatabaseWindow}}, Path=Database.Photos1}&quot;
  </code></pre>
  <p>This <code>ListBox</code> is populated properly. But when I try to insert a row into the database (InsertOnSubmit + SubmitChagnes), the <code>ListBox</code> is not updated!</p>
  <p>I have tried:</p>
  <pre><code>ListBox.Items.Refresh();
  
  ListBox.GetBindingExpression(ListBox.ItemsSourceProperty).UpdateTarget();
  
  ListBox.ItemsSource = null; 
  ListBox.ItemsSource = this.Database.Table;
  </code></pre>
  <p>None of these helped. How can I update a <code>ListBox</code>?!</p>
  <p><strong>PS:</strong> After reloading the database, the row appears in the <code>ListBox</code>.<br />
  <strong>PPS:</strong> If anyone knows a tutorial for SQL CE with WPF where the insertion into a ListBox is shown - that would be great, too!</p>