<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>SharePoint Magazine - Latest Comments in Populating data sources in code</title><link>http://sharepointmagazine.disqus.com/</link><description>SharePoint Magazine is an online magazine dedicated to the world of SharePoint and related Information Worker technologies.</description><atom:link href="https://sharepointmagazine.disqus.com/populating_data_sources_in_code_53/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 04 Sep 2009 10:34:36 -0000</lastBuildDate><item><title>Re: Populating data sources in code</title><link>http://sharepointmagazine.net/technical/development/populating-data-sources-in-code#comment-15973990</link><description>&lt;p&gt;actually, I found that if you change your code in the page load event to this it works fine:&lt;br&gt;ContentPlaceHolder myPH = (ContentPlaceHolder)this.Page.Master.FindControl(placeholderwherecontrolis);&lt;br&gt;DataFormWebPart m_dfwp = myPH.FindControl(DataFormWebPartId) as DataFormWebPart;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mantisory</dc:creator><pubDate>Fri, 04 Sep 2009 10:34:36 -0000</pubDate></item><item><title>Re: Populating data sources in code</title><link>http://sharepointmagazine.net/technical/development/populating-data-sources-in-code#comment-15973559</link><description>&lt;p&gt;it appears this does not really work well in a sharepoint site per se, because placing it into a content page causes it to fail (or any page with a master page)&lt;br&gt;Regards,&lt;br&gt;Byron&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mantisory</dc:creator><pubDate>Fri, 04 Sep 2009 10:25:39 -0000</pubDate></item><item><title>Re: Populating data sources in code</title><link>http://sharepointmagazine.net/technical/development/populating-data-sources-in-code#comment-3574031</link><description>&lt;p&gt;I have sharepoint portal server 2003 and microsoft outlook 2003. I have my customers fill in a task request form, an internet application, and submit it. I have it where it gets sent to my outlook as a task. Is there a way that I can send it as a task in sharepoint task list in an unassigned task list area and then once I assign task, it should move to the assigned task list and disappear from the unassigned task list. Any help is appreciated&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sweha</dc:creator><pubDate>Thu, 06 Nov 2008 14:48:16 -0000</pubDate></item><item><title>Re: Populating data sources in code</title><link>http://sharepointmagazine.net/technical/development/populating-data-sources-in-code#comment-3202312</link><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;I fixed that prblem and now it it is work but when I attached master page to page , get the following error...&lt;/p&gt;&lt;p&gt;[NullReferenceException: Object reference not set to an instance of an object.]&lt;br&gt;   DynamicAggregateDataSource.DynamicAggregateDataSource.OnLoad(EventArgs e) +106&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +47&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +131&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +131&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +131&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +131&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +131&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +131&lt;br&gt;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436&lt;/p&gt;&lt;p&gt;Please help me&lt;br&gt;Thanks&lt;br&gt;Jamal&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JamalHosseini</dc:creator><pubDate>Tue, 21 Oct 2008 10:55:38 -0000</pubDate></item><item><title>Re: Populating data sources in code</title><link>http://sharepointmagazine.net/technical/development/populating-data-sources-in-code#comment-3166256</link><description>&lt;p&gt;Hi&lt;br&gt;I'm SharePoint Developer. Thanks alots of your post. I needed a way to populate the sub site's task list data in dataview that find your post. I copy the .dll in gac and added in safe control and register in .aspx page so put dataview ID in the tag , but when I want run the page saw this error....&lt;/p&gt;&lt;p&gt;Object reference not set to an instance of an object&lt;/p&gt;&lt;p&gt;[NullReferenceException: Object reference not set to an instance of an object.]&lt;br&gt;   DynamicAggregateDataSource.DynamicAggregateDataSource.OnLoad(EventArgs e) +106&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +47&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +131&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +131&lt;br&gt;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436&lt;/p&gt;&lt;p&gt;Thanks&lt;br&gt;Jamal From SPS Persia Corporation&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JamalHosseini</dc:creator><pubDate>Mon, 20 Oct 2008 04:17:07 -0000</pubDate></item><item><title>Re: Populating data sources in code</title><link>http://sharepointmagazine.net/technical/development/populating-data-sources-in-code#comment-3166241</link><description>&lt;p&gt;Hi&lt;br&gt;I'm SharePoint Developer. Thanks alots of your post. I needed a way to populate the sub site's task list data in dataview that find your post. I copy the .dll in gac and added in safe control and register in .aspx page so put dataview ID in the tag , but when I want run the page saw this error....&lt;/p&gt;&lt;p&gt;Object reference not set to an instance of an object&lt;/p&gt;&lt;p&gt;[NullReferenceException: Object reference not set to an instance of an object.]&lt;br&gt;   DynamicAggregateDataSource.DynamicAggregateDataSource.OnLoad(EventArgs e) +106&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +47&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +131&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +131&lt;br&gt;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436&lt;/p&gt;&lt;p&gt;Thanks&lt;br&gt;Jamal From SPS Persia Corporation&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JamalHosseini</dc:creator><pubDate>Mon, 20 Oct 2008 04:14:15 -0000</pubDate></item><item><title>Re: Populating data sources in code</title><link>http://sharepointmagazine.net/technical/development/populating-data-sources-in-code#comment-1110742</link><description>&lt;p&gt;how to make query like list1.title=list2.title&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hany</dc:creator><pubDate>Wed, 06 Aug 2008 08:17:39 -0000</pubDate></item></channel></rss>