title: Getting a Bit from SqlServer into c#
body: <p>I need to get a Bit from a sql server into c#. I tried differnt solutions like:</p>
  
  <pre><code>bool active = rdr.GetSqlBinary(5);
  Int16 active = rdr.GetSqlBinary(5);
  </code></pre>
  
  <p>But can't find any way to get the Bit.
  Can someone give an example?</p>