Hello! I am having some binding trouble.
I have a windows form on which the user manages a collection of customers. Within this form is a custom control containing fields bound to an LLBLGen generated CustomerEntity.
I am attempting to bind the control's public CustomerEntity property to the currently selected Customer property (of CustomerEntity type) through the following code:
this.controlCustomerContact1.DataBindings.Add( "CustomerEntity",
((OpportunityCustomerEntity) this.opportunityCustomers[index]), "Customer" );
Customer in this case is not null, and is in fact the customer that I want. But--I get an exception ("Cannot bind to property or column Customer on DataSource")
Any ideas?