Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why i use databindings the checkbox, but no checked = tr
Message
From
18/04/2011 10:14:20
 
 
To
17/04/2011 21:46:06
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01507563
Message ID:
01507705
Views:
38
Your code looks ok, but I'm not sure I follow what you've said ... is this the code that gets generated with drag/drop or is this the code you've put in yourself? Where is your data being loaded? Is the problem only affecting the CheckBox and no other controls on your Form?

~~Bonnie


>ok, no problem in below is my code ~~~
>But i except use code way , can 't .......
>And after i use other method , i use vb.net drog and drag the field by checkbox format in data sources then no code to entry also can't ....
>So , i very surprise, how can i do , thx ?
>
>
> Private Sub Quotation_Add_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
>         ReleaseCheckBox.DataBindings.Add("checked", QuohdrBindingSource, "release", True, DataSourceUpdateMode.OnPropertyChanged)
>End Sub
>
>Private Sub Quotation_Add_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
>        ReleaseCheckBox.DataBindings.Clear()
>End Sub
>
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform