title: How to check if Datatable value contains part of a string input?
body: <p>I want to check if a data table entry contains part of a user input string</p>
  
  <p>E.g. In the data table if there is 123456, if the user enters 1234, I should get a match and get the values in that row.</p>
  
  <p>Right now I can get the values in the row if there is an exact match,</p>
  
  <p>My code for checking is: </p>
  
  <pre><code>string findPO = string.Format("PO = {0}",tbPOnum.Text);   
  
  DataRow[] selectRow = localDataTable.Select(findPO);
  
  localDataTable.Rows.IndexOf(selectRow[0]);
  </code></pre>
  
  <p>Thanks for any help</p>