<?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: Populate a repeating section from C# code</title><link>https://www.infopathdev.com:443/forums/thread/83676.aspx</link><pubDate>Fri, 19 Oct 2012 15:37:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83676</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83676.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=83676</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;Sorry this went unanswered for so long.&lt;/p&gt;&lt;p&gt;So, you need to create a new instance of your repeating group and populate it.&lt;/p&gt;&lt;p&gt;Here are some links that might help you:&lt;/p&gt;&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/office/aa945227.aspx"&gt;http://msdn.microsoft.com/en-us/library/office/aa945227.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2008/07/04/how-do-i-copy-repeating-data-from-an-external-source-into-my-form.aspx"&gt;http://www.infopathdev.com/blogs/hilary/archive/2008/07/04/how-do-i-copy-repeating-data-from-an-external-source-into-my-form.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Populate a repeating section from C# code</title><link>https://www.infopathdev.com:443/forums/thread/83657.aspx</link><pubDate>Fri, 19 Oct 2012 08:10:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83657</guid><dc:creator>r.senby</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83657.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=83657</wfw:commentRss><description>No one that can help me and point me in the right direction here ?</description></item><item><title>Populate a repeating section from C# code</title><link>https://www.infopathdev.com:443/forums/thread/82948.aspx</link><pubDate>Mon, 24 Sep 2012 13:38:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82948</guid><dc:creator>r.senby</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=82948</wfw:commentRss><description>&lt;p&gt;Hi Im pretty new at this so i need some help. I have a form where i have a field that a user can typ a number in and then hit a button. &lt;/p&gt;
&lt;p&gt;Then the form will start a SQL query and get a Select TOP (Value of Number field) * list from the SQL. This values that i retrive from the SQL query will be stored in arrays. &lt;/p&gt;
&lt;p&gt;So far so good but here comes my problem. Now i need code to populate a repeating section with the values stored in the arrays. And depending how many rows there is in the arrays i need to create matching sections. &lt;/p&gt;
&lt;p&gt;What the form will be used for is this. &lt;/p&gt;
&lt;p&gt;People should be able to open the the form and fill in how many IP-adresses they want and then click the button get IP`S. Then a query in C# will get the number of rows the user typed and store them in arrays. Depending of how many rows in the arrays that was populated by the query i need to create and populate repeating sections. Because now the user will need to type in data in the fields and and hit submit. I hope someone can help me or point me in the right direction&lt;/p&gt;</description></item></channel></rss>