Hi,
I can not set the default value of a checkbox to False on my form. it should be very simple, but I can not figure it out.
What I have done is that I added the following codes in the Addingnew procedure of my form's bindingsource.
Private Sub Tbl1BindingSource_AddingNew(ByVal sender As Object, ByVal e As System.ComponentModel.AddingNewEventArgs) Handles Tbl1BindingSource.AddingNew
Me.CheckBox1.Checked = False
Me.CheckBox1.CheckState = CheckState.Unchecked
End Sub
I can not set the default value of a checkbox to False on my form. it should be very simple, but I can not figure it out.
What I have done is that I added the following codes in the Addingnew procedure of my form's bindingsource.
Private Sub Tbl1BindingSource_AddingNew(ByVal sender As Object, ByVal e As System.ComponentModel.AddingNewEventArgs) Handles Tbl1BindingSource.AddingNew
Me.CheckBox1.Checked = False
Me.CheckBox1.CheckState = CheckState.Unchecked
End Sub