<?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: Clear Secondary DataSource</title><link>https://www.infopathdev.com:443/forums/thread/14978.aspx</link><pubDate>Fri, 05 Jan 2007 00:10:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14978</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14978.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14978</wfw:commentRss><description>You can also use selectNodes() and removeChild() to get rid of the two Param nodes.</description></item><item><title>Re: Clear Secondary DataSource</title><link>https://www.infopathdev.com:443/forums/thread/14977.aspx</link><pubDate>Thu, 04 Jan 2007 09:55:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14977</guid><dc:creator>uma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14977.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14977</wfw:commentRss><description>Uncheck the option "automatically retrive the data when form is opened" while taking the secondary data connection.&lt;br /&gt;&lt;br /&gt;Hope it'll help you to solve the problem.</description></item><item><title>Clear Secondary DataSource</title><link>https://www.infopathdev.com:443/forums/thread/13018.aspx</link><pubDate>Thu, 04 Jan 2007 08:41:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13018</guid><dc:creator>ekzarov</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13018.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13018</wfw:commentRss><description>How can I clear my secondary datasource in C#?&lt;br /&gt;I have a secondary datasource named "SeconaryDS".&lt;br /&gt;This is xml file, wich I used to create this data source.&lt;br /&gt;// ----&lt;br /&gt;&amp;lt;Docs&amp;gt;&lt;br /&gt;    &amp;lt;Param DocId="" DocNumber="" DocRegDate=""/&amp;gt;&lt;br /&gt;    &amp;lt;Param DocId="" DocNumber="" DocRegDate=""/&amp;gt;&lt;br /&gt;&amp;lt;/Docs&amp;gt;&lt;br /&gt;// ----&lt;br /&gt;Then I created list control wich bound to my "SeconaryDS".&lt;br /&gt;When I open my form, I see in this list control two empty records...&lt;br /&gt;And more: I want to clear this list dinamically, for example by pressing the button...</description></item></channel></rss>