<?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: Number of rows for Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/19124.aspx</link><pubDate>Mon, 16 Apr 2007 19:48:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19124</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19124.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19124</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;If you want to know the number of rows in repeating section use below the code in C#.&lt;/p&gt;&lt;p&gt;&lt;font color="#008080"&gt;&lt;font color="#000000"&gt;Code:&lt;br /&gt;&lt;br /&gt;// Create XPathNavigator positioned at the root of the main data&amp;nbsp;source.&lt;br /&gt;XPathNavigator myNav = this.MainDataSource.CreateNavigator();&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color="#008080"&gt;XmlNodeList&lt;/font&gt;&lt;font size="2"&gt; nodeList = myNav.SelectNodes&lt;/font&gt;(&amp;quot;Repeating Node XPath&amp;quot;);&lt;/p&gt;&lt;p&gt;This will give the number of nodes which are available in specified your xpath node. If you want to limit the repeating section row limit then you can change in myschema.xsd file. In this file you can specify upto how many rows you want&amp;nbsp;insert and change the &amp;#39;maxOccurs&amp;#39; value &amp;#39;unbounded&amp;#39; to &amp;#39;8&amp;#39; (Any number) of that repeating section.&lt;/p&gt;</description></item><item><title>Re: Number of rows for Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/11430.aspx</link><pubDate>Wed, 11 Apr 2007 13:43:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11430</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11430.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11430</wfw:commentRss><description>Do you want to know how many rows are currently in the table or do you want to limit the possible number of rows?</description></item><item><title>Number of rows for Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/6178.aspx</link><pubDate>Tue, 10 Apr 2007 13:03:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6178</guid><dc:creator>BanGotti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6178.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6178</wfw:commentRss><description>Hello guys,&lt;br /&gt;I have what is probably a simple question in here:&lt;br /&gt;&lt;br /&gt;- I use one repeating section for the moment&lt;br /&gt;- How can I choose the number of rows, of this section through the managed code?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;My environement is: VS2005, Framework 1.1, C#, InfoPath 2003.&lt;br /&gt;&lt;br /&gt;Thank you everybody.</description></item></channel></rss>