ObjectDataSource business.Component not connection
No parameterless constructor defined for this object
1 Answer, 1 is accepted
answered on 27 Jun 2016, 03:20 PM
In general, the purpose of the ObjectDataSource component is to provide data to the report in a declarative manner. The ObjectDataSource.DataSource should be the assembly qualified name or Type of the data access layer (class), where the reporting engine will use System.Reflection to create the instance of the class (by using its default constructor) and to execute its method specified by the ObjectDataSource.DataMember.
Having the above into account, the data access layer must have a default parameterless constructor in order to be instantiated.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items