EDN Admin
Well-known member
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt VS 2010 Express CheckBoxes bound to a SQL Server CE 3.5 and 4.0 bit data type. When value is null they show as Indeterminate on the form instead of Unchecked.
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt
<p style="margin:0in 0in 0pt
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt Hello, I am trying to learn programming with C#.
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt I have created a form with several different controls (textboxes, checkboxes, DataGridView, etc.) These checkboxes are bound to a SQL Server Compact Edition file(.sdf).
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt The situation is that when the form loads, the checkboxes, which are bound to table cells with bit data type, that have null value, are not unchecked. Instead of unchecked they show
up as Indeterminate.
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt How can I make them show as unchecked when the data value of the cell they are liked to is null?
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt Or how can I change them to âUncheckedâ after the form is loaded and filled when the data value is null?
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt I Am using the BindinNavigator that showed up on the form when I dragged and dropped the Detail Dataset from the Data Sources little window on to the form.
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt Thanks in advance for your help.
<
Learning computer programming with c#
View the full article
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt
<p style="margin:0in 0in 0pt
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt Hello, I am trying to learn programming with C#.
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt I have created a form with several different controls (textboxes, checkboxes, DataGridView, etc.) These checkboxes are bound to a SQL Server Compact Edition file(.sdf).
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt The situation is that when the form loads, the checkboxes, which are bound to table cells with bit data type, that have null value, are not unchecked. Instead of unchecked they show
up as Indeterminate.
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt How can I make them show as unchecked when the data value of the cell they are liked to is null?
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt Or how can I change them to âUncheckedâ after the form is loaded and filled when the data value is null?
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt I Am using the BindinNavigator that showed up on the form when I dragged and dropped the Detail Dataset from the Data Sources little window on to the form.
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt
<p style="margin:0in 0in 0pt <span style="font-family:Arial; font-size:10pt Thanks in advance for your help.
<
Learning computer programming with c#
View the full article