title: vb.net LINQ select Distinct to a List
body: <p>I have a <code>datatable</code> with a column that has some duplicate values, I want to add those values to a <code>listbox</code> but without duplicates</p>
  
  <p>I tried the following</p>
  
  <pre><code>Dim a = From row In table.AsEnumerable.Distinct.ToList Select row.Field(Of String)("name")
  </code></pre>
  
  <p>but it gives me duplicate values, How can it be done without duplicates?</p>