I am having an issue with the DevForceDataSource object when running the ExecuteSelect method.
I am mimicking the example:
-Create a dropdownlist for entities <Organization>
-Create DFDS to run GetAllEntities for <Organization>
Outcome: Runs successfully
-Create DFDS to GetSelectedEntity using ControlParameter from the SelectedValue from the dropdownlist
Outcome: fails: Cannot cast Organization to IEnumerable
This does not make sense to me. ExecuteSelect for GetAllEntities is made of of a list of Organizations and passes. But, getting one Organization fails. List<Organization> is based off of Organization which is based from Entity which is based from DataRow. DataRow should be IEnumerable correct?
Please help. Been trying to track this down for a few days.
Edited by orcities - 30-Dec-2008 at 2:21pm