<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : DevForceDataSource</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : DevForceDataSource</description>
  <pubDate>Tue, 14 Apr 2026 18:28:29 -700</pubDate>
  <lastBuildDate>Wed, 31 Dec 2008 14:13:56 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1039</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>DevForceDataSource : Try doing a cast to IEnumerable...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1039&amp;PID=3761#3761</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 1039<br /><strong>Posted:</strong> 31-Dec-2008 at 2:13pm<br /><br />Try doing a cast to IEnumerable before you return the result.&nbsp; I know this should not be necessary, but I remember once doing it anyway, and it fixed my problem.]]>
   </description>
   <pubDate>Wed, 31 Dec 2008 14:13:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1039&amp;PID=3761#3761</guid>
  </item> 
  <item>
   <title>DevForceDataSource : I did it exactly like the example....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1039&amp;PID=3759#3759</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 1039<br /><strong>Posted:</strong> 31-Dec-2008 at 9:22am<br /><br />I did it exactly like the example. The example works and mine does not. The example has it return 1 record and it is successful. ]]>
   </description>
   <pubDate>Wed, 31 Dec 2008 09:22:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1039&amp;PID=3759#3759</guid>
  </item> 
  <item>
   <title>DevForceDataSource : DevForceDataSource ia working...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1039&amp;PID=3757#3757</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 1039<br /><strong>Posted:</strong> 31-Dec-2008 at 8:35am<br /><br />DevForceDataSource ia working as designed,&nbsp; It expects a list of Entities, not a single Entity.&nbsp; Therefore, you must return&nbsp; a list containing a single Entity.&nbsp; A single Orgnization is not the same as an EntityList&lt;Organization&gt; even when the EntityList contains a single&nbsp; Organizatiion.]]>
   </description>
   <pubDate>Wed, 31 Dec 2008 08:35:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1039&amp;PID=3757#3757</guid>
  </item> 
  <item>
   <title>DevForceDataSource : I am having an issue with the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1039&amp;PID=3755#3755</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 1039<br /><strong>Posted:</strong> 30-Dec-2008 at 2:20pm<br /><br />I am having an issue with the DevForceDataSource object when running the ExecuteSelect method. <DIV>&nbsp;</DIV><DIV>I am mimicking the example:</DIV><DIV>-Create a dropdownlist for entities &lt;Organization&gt;</DIV><DIV>-Create DFDS to run GetAllEntities for &lt;Organization&gt;</DIV><DIV>&nbsp;</DIV><DIV>Outcome: Runs successfully</DIV><DIV>&nbsp;</DIV><DIV>-Create DetailsView</DIV><DIV>-Create DFDS to GetSelectedEntity using ControlParameter from the SelectedValue from the dropdownlist</DIV><DIV>&nbsp;</DIV><DIV>Outcome: fails: Cannot cast Organization to IEnumerable</DIV><DIV>&nbsp;</DIV><DIV>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&lt;Organization&gt; is based off of Organization which is based from Entity which is based from DataRow. DataRow should be IEnumerable correct?</DIV><DIV>&nbsp;</DIV><DIV>Please help. Been trying to track this down for a few days.</DIV><span style="font-size:10px"><br /><br />Edited by orcities - 30-Dec-2008 at 2:21pm</span>]]>
   </description>
   <pubDate>Tue, 30 Dec 2008 14:20:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1039&amp;PID=3755#3755</guid>
  </item> 
 </channel>
</rss>