Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Binding Data to CheckBox Using Properties Dialog

$
0
0

Is it possible to Bind a CheckBox to the Datasource using the properties dialog? 

The bindingsource is a sql table with a Violation field that contains values of 0 or 1 (1 = Violation) I have tried setting the bindingSource on the Checked And CheckedSate Properties without success.  

Or should I be trying to handling bu inserting some code?  Your help with either would be appreciated.

private void checkBox1_CheckedChanged(object sender, EventArgs e)
        {

        }

     

 


Viewing all articles
Browse latest Browse all 2535

Trending Articles



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