title: Specified cast is not valid - ADO.net query
body: <p>I get this error specifically on this line: <code>_item.Views = (int)reader["views"];</code>
  The "views" column in my db table is of type int. as you can see in the image below:</p>
  
  <p><a href="https://i.stack.imgur.com/Qt5ce.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Qt5ce.png" alt="enter image description here"></a></p>
  
  <p>The object field I'm reading the data into is also of type int. I'm not sure what I'm doing wrong here as this code was working before. I have been stuck on this for a while now, not able to figure out what to do.</p>