title: from dataGridView to ListView
body: <p>My data is loaded into dataGridView</p>
  <p>I have to filter the dataGridView and distinct data then put some of it in a list view</p>
  <p>I tried doing that but I am getting error when Adding to the listview</p>
  <p>not sure if I am using the right approach?</p>
  <p>Here is my code</p>
  <pre><code>    var lstPts2 = grdSearch.Rows.Cast&lt;DataGridViewRow&gt;()
                     .Where(x =&gt; !x.IsNewRow)                   
                     .Where(x =&gt; x.Cells[&quot;PtsCode&quot;].Value != null) 
                     .Select(x =&gt; (x.Cells[&quot;PtsCode&quot;].Value.ToString() , x.Cells[&quot;PtsName&quot;].Value.ToString() , x.Cells[&quot;DOB&quot;].Value.ToString()))
                     .Distinct()
                     .ToList();
      lbxPts.DataSource = lstPts2;
  
  
      listView1.Items.Add(lstPts2);  // &lt;----- Getting Error HERE
  </code></pre>