title: Get a boolean value from DataTable
body: <p>How do I retrieve a Boolean value in dataset, I'm using visual studio 2003,I am trying the following, but it's not working:</p>
  
  <pre><code>//if product inactive, don't display, and redirect to main page
    if((dbDataSet.Tables["productGeneral"].Rows[0]["Active"].Equals(0)))
  </code></pre>
  
  <p>I even tried, but not working:     </p>
  
  <pre><code>if((dbDataSet.Tables["productGeneral"].Rows[0]["Active"].toString() == false)
  </code></pre>
  
  <p>the columns name is ["active"], the value with in column is either True or False, using sql server 2000</p>
  
  <p>please help</p>