Remove Duplicates Linq Query Dropdownlist in VB.net <p>I have bound my data source to the drop down list and it works, but it is showing duplicates. Here is my code </p> <pre><code>Private Sub ddlMasterPids_Load(sender As Object, e As EventArgs) Handles ddlMasterPids.Load Dim db As New DesignConstructionDataContext Dim Master = (From Master_Name In db.groups Where (Master_Name.Master_Name IsNot Nothing) Select Master_Name).ToList().Distinct() ddlMasterPids.DataSource = Master ddlMasterPids.DataTextField = "Master_Name" ddlMasterPids.DataValueField = "Master_Name" ddlMasterPids.DataBind() End Sub </code></pre> <p>The .Distinct() does not throw an error, but there are still duplicates. I also tried switching the distinc and tolist, but still just ignored the distinct. Any ideas?</p>