title: Search an int value in SQL
body: <p>How should I search for an <code>int</code> value in a table? Actually my sql query works for string values but not for numbers.</p>
  
  <pre><code>SELECT * FROM [Book] WHERE ([bookId] = @bookId)
  </code></pre>
  
  <p>I'm using vs and get values from text boxes.Insert query in gridview.</p>
  
  <p><code>bookId</code> is  an autogenerated <code>INT</code> value.</p>