<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: DataConnection with code</title><link>https://www.infopathdev.com:443/forums/thread/14917.aspx</link><pubDate>Thu, 23 Nov 2006 19:00:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14917</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14917.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14917</wfw:commentRss><description>Hi Jan,&lt;br /&gt;You don't need code to connect to SharePoint and pull down a list. Just go to Tools-&amp;gt;Data Connections and set up a receive data connection and point it at the list you want. If you want to write code to do this, that's also possible. Matt has writte some samples dealing with SharePoint lists. Please go to the "Search InfoPathDev for:" text field in upper left corner and enter "SharePoint Lists Matt Faus" and let me know if you can't find it. Good luck!</description></item><item><title>DataConnection with code</title><link>https://www.infopathdev.com:443/forums/thread/12989.aspx</link><pubDate>Thu, 23 Nov 2006 09:35:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12989</guid><dc:creator>janditze</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12989</wfw:commentRss><description>Hello everybody,&lt;br /&gt;&lt;br /&gt;i want to recieve data from a sharepoint list by using c# code, IP2007 and VSTA. I searched a lot but i cant find a solution for my problem. I know that there is a class called "dataconnectioncollection" ad "dataconnection" but it was not possible for me to work with it. Does anyone know how to handle with those dataconnections? I know that there is a Wizard, but i have to do it with code.&lt;br /&gt;&lt;br /&gt;Thanks a lot and greetings from germany,&lt;br /&gt;&lt;br /&gt;Jan</description></item></channel></rss>