title: Find value in DataSet DataTable
body: <p>This is a C# syntax question.</p>
  
  <p>From the 30,000 foot level, I have a DataTable from a DataSet, and I want to determine whether or not a looping int is "in" the KeyID from this DataTable.</p>
  
  <p>If I set a break point and walk through the code below, I have a count of 37, but there are only four rows of data in my DataTable.  So, as I loop through my 37 ints, I want to lod files ONLY where i can be found </p>
  
  <pre><code>for (i = 1; i &lt;= iCount; i++)
  {
      if (i in myDataSet.Tables[0].Select("KeyID"))  // this is the syntax I cannot seem to get right
      {
          // If it's there, then we want to read this file.
      }
  </code></pre>