title: Error "Cannot perform Like Operation on 'System.Int32' and 'System.String'" setting DataGridView data source
body: <p>I have created a data grid view in a Windows application using Visual Studio and I am trying to query it with a search text box. The field is a series of numbers but I have it set up for <code>Varchar(10)</code>.  </p>
  
  <p>When I use the command below I get the following error </p>
  
  <blockquote>
    <p>Cannot perform Like Operation on 'System.Int32' and 'System.String'</p>
  </blockquote>
  
  <p>Code:</p>
  
  <pre><code>DataView DV = new DataView(dbdataset);
  DV.RowFilter = string.Format("JobNumber Like '%{0}%' ", textBox1.Text);
  dataGridView1.DataSource = DV;
  </code></pre>
  
  <p>Thanks</p>