Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataBindings.Add();
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
DataBindings.Add();
Miscellaneous
Thread ID:
01087341
Message ID:
01087341
Views:
64
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.
Next
Reply
Map
View

Click here to load this message in the networking platform