Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindindContext: early-binding?
Message
De
31/07/2003 16:51:12
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
BindindContext: early-binding?
Divers
Thread ID:
00815629
Message ID:
00815629
Vues:
54
Hey there.

I realize I can bind for example a textbox to a property in a business object like this:
this.txtAddress.DataBindings.Add("Text", this.Customer, "Address");
However, if I pass a non-existent property as the third parameter (or even a typo for that matter... as in "Addressosssss"), the compiler will not be able to catch that.

Is there any way that I could do such binding, but in a way that the compiler could enforce that the member really does exist?

TIA
Claudio Lassala
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform