views:

15

answers:

0

Hi,

I have an ObjectDataSource and one of the fields is actually another object/complex type. Knowing that the ODS does not support complex objects natively, I want to capture the Inserting event to "treat" my parameters.

My problem is that an exception is thrown before the Inserting event starts:

Exception Details: System.InvalidOperationException: Cannot convert value of parameter 'Company' from 'System.String' to 'Connect.BusinessObjects.Company'

Any ideas about how can I capture this event?

related questions