Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Generate a 'False" value in SQL for bound control that is not checked

$
0
0

Hello,

I have a project with Data Bound Checkboxes and Radio Buttons.  They are bound to 'bit' columns in SQL.

Everything has been working well except I am finding that when the checkboxes/radio buttons are unchecked ( .checked = False ) that they are leaving a NULL value in the SQL database.  I need these values to be FALSE when creating a new record.

Is there a way to force these unchecked boxes to cause a FALSE value in SQL?

TIA


Viewing all articles
Browse latest Browse all 12583

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>