Getting error on 2nd line in code below..What could be wrong?
<pre><code>for (I = 0; I &lt; ds.Tables[0].Rows.Count; I++)
{
 if (Convert.ToBoolean(ds.Tables[0].Rows[I]["IsDefault"].ToString()) == true &amp;&amp; Convert.ToBoolean(ds.Tables[0].Rows[I]["IsBill"].ToString()) == true)
.
.
.
.
</code></pre>

<p>Error: System.FormatException: String was not recognized as a valid Boolean.</p>

<p>Is default and IsBill are boolean values only</p>
