Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bound controls
Message
De
07/07/2004 18:25:27
 
 
À
07/07/2004 17:35:51
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Divers
Thread ID:
00921632
Message ID:
00921704
Vues:
21
When the form initializes, I changed a line to:
FormProperty = "";   // got rid of "hello world"
Don't get an exception now, but it does not behave as if it is bound.

>Yep, you can bind to a property ... but make sure it's a public *property* (with a get/set) and not simply a field (public or otherwise).
>
>MyTextBox.DataBindings.Add("Text", this, "MyProperty");
>
>
>~~Bonnie
>
>
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform