<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Adding values to a Listbox programatically</title><link>https://www.infopathdev.com:443/forums/thread/73381.aspx</link><pubDate>Mon, 02 Jan 2012 05:35:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73381</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73381.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=73381</wfw:commentRss><description>&lt;p&gt;Hi CaroleB and welcome,&lt;/p&gt;&lt;p&gt;To reduce your maintenance costs down the road, the recommended best practice is to create a common code library that you can use in all of your form templates. We have created one that we sell to help defray the cost of this free forum. It&amp;#39;s called qRules. It contains several techniques for copying repeating values from one table or section to another. There are several documents and blog posts on how to do this. If you are interested, please click here: &lt;a href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;http://www.qdabra.com/en/products/qRules_new.aspx&lt;/a&gt;. Click on Resources to the left and then the documentation link to see related topics. &lt;/p&gt;&lt;p&gt;To &amp;quot;roll your own&amp;quot; common library, you can search the forum for &amp;quot;copy repeating&amp;quot;. Over the years there have been numerous posts and downloads showing how to do this in code. You&amp;#39;ll have to search for them, but they are out there. If you can&amp;#39;t find something in 30 minutes of searching, please email me.&lt;/p&gt;&lt;p&gt;Best of luck,&lt;/p&gt;</description></item><item><title>Adding values to a Listbox programatically</title><link>https://www.infopathdev.com:443/forums/thread/73348.aspx</link><pubDate>Fri, 30 Dec 2011 09:39:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73348</guid><dc:creator>CaroleB</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73348.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=73348</wfw:commentRss><description>I have a form with script which uses a SQL statement to determine a list of values. I need to populate a repeating list with these values. I can append them into a text field, but am struggling to add values to a repeating field (Plain list in Infopath 2010).

How do you do this using C# code?</description></item></channel></rss>