title: Byte to integer in C#
body: <p>I am reading a row from a SQL Server table. One of the columns is of type tinyint.</p>
  
  <p>I want to get the value into an int or int32 variable.</p>
  
  <pre><code>rdr.GetByte(j)
  (byte) rdr.GetValue(j)
  </code></pre>
  
  <p>...seems to be the only way to retrieve the value. But how do I get the result into an <code>int</code> variable?</p>