title: Distinct value display on WPF ComboBox Programmatically (ItemsSource DataTable AsDataView)
body: <p>I have a DataTable, and a ComboBox gets items from this table as:</p>
  
  <pre><code>SQLiteDataAdapter sQLiteDataAdapter = new SQLiteDataAdapter(_command);
  DataTable dataTable = new DataTable("Alarm");
  sQLiteDataAdapter.Fill(dataTable);
  
  cboxAlarmFilterSeverity.DisplayMemberPath = "severity";
  cboxAlarmFilterSeverity.SelectedValuePath = "severity";
  cboxAlarmFilterSeverity.ItemsSource = dataTable.AsDataView();
  </code></pre>
  
  <p>I want to get only <strong>distinct values</strong> to ComboBox. I know, I could use this query, but I do not want to use:</p>
  
  <pre><code>_command.CommandText = "SELECT DISTINCT severity FROM [Alarm]";
  </code></pre>
  
  <p>And I could use this <a href="https://stackoverflow.com/a/5996116/7652968">solution</a>, but it should not interact with XAML, it should be programmatically.</p>
  
  <p>How can I do that?</p>