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:
//if product inactive, don't display, and redirect to main page
if((dbDataSet.Tables["productGeneral"].Rows[0]["Active"].Equals(0)))
I even tried, but not working:
if((dbDataSet.Tables["productGeneral"].Rows[0]["Active"].toString() == false)
the columns name is ["active"], the value with in column is either True or False, using sql server 2000
please help