Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataBindings.Add();
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
DataBindings.Add();
Divers
Thread ID:
01087341
Message ID:
01087341
Vues:
63
I am having some problems adding a databinding to my object. The following line throws an exception:
this.fooUserControl.DataBindings.Add("UserControlProperty", this.fooObject, "ObjectProperty");
The exception caught is:
System.ArgumentException: Object type cannot be converted to target type.
I can't figure out why the exception is thrown. I am sure I am overlooking something very obvious.

Any help would be appreciated.

Thanks,
Einar
Semper ubi sub ubi.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform