Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why i use databindings the checkbox, but no checked = tr
Message
De
18/04/2011 10:14:20
 
 
À
17/04/2011 21:46:06
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01507563
Message ID:
01507705
Vues:
39
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform