<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to load list values programatically into infopathform</title><link>https://www.infopathdev.com:443/forums/thread/55368.aspx</link><pubDate>Thu, 27 May 2010 14:48:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55368</guid><dc:creator>mgarant</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55368.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=55368</wfw:commentRss><description>&lt;p&gt;There&amp;#39;s some different way to do this, depending on what control you want to load your list in. But there is a general way to do it :&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- First you need to connect to the sharepoint list you want to load your values from with the Microsoft.Sharepoint assembly&lt;/p&gt;
&lt;p&gt;- You need to make the CAML query to retrieve the data;&lt;/p&gt;
&lt;p&gt;- Put the query in a SPQuery Object;&lt;/p&gt;
&lt;p&gt;- Load the value inside a SPListItemCollection object;&lt;/p&gt;
&lt;p&gt;- Populate your control.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m not sure if it is going to be faster tough...&lt;/p&gt;</description></item><item><title>How to load list values programatically into infopathform</title><link>https://www.infopathdev.com:443/forums/thread/55358.aspx</link><pubDate>Thu, 27 May 2010 09:11:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55358</guid><dc:creator>hellboy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55358.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=55358</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;without using the code i succesfully loaded the sharepointlist values into infopathform. &lt;/p&gt;
&lt;p&gt;But the form becomes slow...so i want to try this using custom code..but i am new to coding so any one can &amp;nbsp;pls tell me how to do this&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance..&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>