title: How to use a Distinct on a column using Linq
body: <p>Here is my code:</p>
  
  <pre><code>var query = from row1 in table.AsEnumerable()
                           let time = row1.Field&lt;DateTime&gt;("time")
                           let uri = row1.Field&lt;string&gt;("cs-uri-stem")
                           let ip = row1.Field&lt;string&gt;("c-ip")
                           let questionid = row1.Field&lt;int&gt;("questionid")
                           where questionid == int.Parse(table.Rows[x]["questionid"].ToString())
                           select new
                           {
                               time,
                               uri,
                               ip,
                               questionid
                           };
  </code></pre>
  
  <p>The <strong>ip</strong> column should be unique. I can't have duplicate items in the ip field. is it possible to do this in linq</p>