Inserting "null" when no RadioButtons are selected
<p>I have CheckBoxes on my website which, when checked, are being stored into the database in the following way:</p>

<pre><code>Cust.IsCust = Convert.ToInt16(cb_IsCust.Checked ? 0 : 1);
</code></pre>

<p>Now instead of checkbox I am changing it to radiobuttons with "yes/no" option. How can I insert these options in the database with 1 for yes and 0 for no. If there is nothing checked I need to insert null (management requirement).</p>

<p>Thank you in advance.</p>
