Adding contents via ItemsSource to a WPF datagridview
<p>I read an xml file like so</p>

<pre><code>    string appDataPath1 = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
    string configPath1 = appDataPath1 + "/LWRF/ReaderProfiles";
    string fn = System.IO.Path.Combine(configPath1 + ComboBoxProfiles.Text);
        _currentProfile.Clear();
        try
        {
            Log("Loading profile: " + fn);
            _currentProfile.ReadXml(fn);
            _dgvProfile.ItemsSource = _currentProfile.DefaultView;
        }
        catch
        {

        }
</code></pre>

<p>What else do I need to do to make the xml file contents display in the gridview? I added this code to a <code>ComboBox_SelectionChanged</code> event but my datagridview is blank even after the selection changes.</p>
