title: asp.net RowFilter comparing string with int
body: <p>Im having an issue with this , Im new to asp.net and really dont have much understanding with their syntax, I do understand the error but have no idea how to implement a fix:</p>
  
  <pre><code>   ProductTable.RowFilter = "ProductID ='" &amp; ddlCategory.SelectedValue &amp; "'"
  </code></pre>
  
  <p>The error im recieving is <strong>:</strong> <em>cannot perform '=' operation on system.int32 and system.string data view</em></p>
  
  <p>my productID data type is <strong>:</strong> <em>int</em>;</p>
  
  <p>Now i dont see how im comparing a string vs int, ddlCatergory selected index would also return a value... besides the point...im completely stuck.</p>
  
  <p>any help is appreciated.</p>
  
  <p>Using windows 8,  VS 2012 , SQL database.</p>