How to get a boolean value in a dataset, I am using Visual Studio 2003, I am trying to do the following, but it does not work:
//if product inactive, don't display, and redirect to main page
if((dbDataSet.Tables["productGeneral"].Rows[0]["Active"].Equals(0)))
I even tried but didn't work:
if((dbDataSet.Tables["productGeneral"].Rows[0]["Active"].toString() == false)
the column name is ["active"], the value in the column is True or False using sql server 2000
please, help
source
share