<?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: C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/13288.aspx</link><pubDate>Wed, 13 Jul 2005 09:22:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13288</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13288</wfw:commentRss><description>Which solution did you use XSL transform or Childnodes?&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/13287.aspx</link><pubDate>Wed, 13 Jul 2005 07:51:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13287</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13287.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13287</wfw:commentRss><description>ok thanks for your answer! That work fine!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/13286.aspx</link><pubDate>Tue, 12 Jul 2005 05:17:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13286</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13286.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13286</wfw:commentRss><description>If you are good at xsl transform then that would be good solution for you.&lt;br /&gt;&lt;br /&gt;But does all nodes(child nodes also) have ns1 as prefix? If only root nodes have ns1 as prefix, you can pick up the child nodes as is and apppend them.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/13285.aspx</link><pubDate>Mon, 11 Jul 2005 09:04:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13285</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13285.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13285</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Thanks a lot!&lt;br /&gt;&lt;br /&gt;That's work great for this but I have another button that on click have to replace all the data entered in primary datasource by e.source how to proceed?&lt;br /&gt;&lt;br /&gt;Only the prefix of namespace (ns2: instead of ns1:)change.&lt;br /&gt;Do I have to make a xslt transform (with a custom XSLT) for replace ns2 by ns1 and after I make a replacechild or there are an easy way to accomplish that?&lt;br /&gt;&lt;br /&gt;Thanks &lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/13284.aspx</link><pubDate>Wed, 29 Jun 2005 12:31:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13284</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13284.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13284</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Thanks for your answer!&lt;br /&gt;&lt;br /&gt;I would try but now my server is crash (for one day)! So I can try I have to repair him before!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/13283.aspx</link><pubDate>Fri, 24 Jun 2005 10:44:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13283</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13283.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13283</wfw:commentRss><description>I guess your e.Source is "Extract" node.&lt;br /&gt;If my guess is correct you are already in "Extract" node so you need not have it in the XPath again.&lt;br /&gt;So, your code should be &lt;br /&gt;IXMLDOMNode NewFirma= res.selectSingleNode("/Firma/Search/Found/Hauptfassung");&lt;br /&gt;IXMLDOMNode NewSitz = res.selectSingleNode("/Firma/Search/Found/Sitz");&lt;br /&gt;IXMLDOMNode NewRF= res.selectSingleNode("/@RF");&lt;br /&gt;IXMLDOMNode NewCHNR= res.selectSingleNode("/@CHNR");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/13282.aspx</link><pubDate>Fri, 24 Jun 2005 08:37:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13282</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13282.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13282</wfw:commentRss><description>I forget my xml:&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version="1.0" encoding="ISO-8859-1"?&amp;gt;&lt;br /&gt;&amp;lt;Extract Amt="150" CHNR="CH-150.1.000.165-0" Kanton="NW" RF="1" Stempel="2005-06-18T13:07:05" Visum="Exp" inBearb="0" lang="1" lastTB="1998-04-24" suffix="_" valid="1" validOnly="0"&amp;gt;&lt;br /&gt;	&amp;lt;Firma&amp;gt;&lt;br /&gt;		&amp;lt;Bez Ein="1" SitzNr="1506" fldID="101" fldType="Hauptfassung" loe="2" mut="0" seq="0" toCheck="0" valid="0"&amp;gt;Allweg-Garage, Paul Michel&amp;lt;/Bez&amp;gt;&lt;br /&gt;		&amp;lt;Bez Ein="2" SitzNr="1509" fldID="101" fldType="Hauptfassung" loe="0" mut="0" seq="0" toCheck="0" valid="1"&amp;gt;Auto Michel&amp;lt;/Bez&amp;gt;&lt;br /&gt;		&amp;lt;Search&amp;gt;&lt;br /&gt;			&amp;lt;Found Amt="150" CHNR="CH-150.1.000.165-0" Ein="2" Kanton="NW" RF="1" valid="1"&amp;gt;&lt;br /&gt;				&amp;lt;Hauptfassung&amp;gt;Auto Michel&amp;lt;/Hauptfassung&amp;gt;&lt;br /&gt;				&amp;lt;Sitz SitzNr="1509"&amp;gt;Stans&amp;lt;/Sitz&amp;gt;&lt;br /&gt;				&amp;lt;Link&amp;gt;&amp;lt;![CDATA&lt;a target="_blank" href=http://zefix.powernet.ch/webservices/HRG/HRG.asmx/getHRGHTML?chnr=1501000165&amp;amt=150&amp;toBeModified=0&amp;validOnly=%%%%%&amp;lang=^&amp;sort=0]]&amp;gt;&amp;lt;/Link&amp;gt;&gt;http://zefix.powernet.ch/webservices/HRG/HRG.asmx/getHRGHTML?chnr=1501000165&amp;amt=150&amp;toBeModified=0&amp;validOnly=%%%%%&amp;lang=^&amp;sort=0]]&amp;gt;&amp;lt;/Link&amp;gt;&lt;/a&gt;&lt;br /&gt;			&amp;lt;/Found&amp;gt;&lt;br /&gt;		&amp;lt;/Search&amp;gt;&lt;br /&gt;	&amp;lt;/Firma&amp;gt;&lt;br /&gt;&amp;lt;/Extract&amp;gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/13281.aspx</link><pubDate>Fri, 24 Jun 2005 08:35:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13281</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13281.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13281</wfw:commentRss><description>Ok I have some probleme I can have the node (the xml is well formed) that I wan't but I'm unable to navigate for search the node that I need. My Code:&lt;br /&gt;&lt;br /&gt;IXMLDOMNode res= e.Source;&lt;br /&gt;&lt;br /&gt;IXMLDOMNode NewFirma= res.selectSingleNode("/Extract/Firma/Search/Found/Hauptfassung");&lt;br /&gt;			IXMLDOMNode NewSitz = res.selectSingleNode("/Extract/Firma/Search/Found/Sitz");&lt;br /&gt;			IXMLDOMNode NewRF= res.selectSingleNode("/Extract/@RF");&lt;br /&gt;			IXMLDOMNode NewCHNR= res.selectSingleNode("/Extract/@CHNR");&lt;br /&gt;&lt;br /&gt;And that found nothing anybody has an idea?&lt;br /&gt;&lt;br /&gt;Thanks a lot for your help!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/13280.aspx</link><pubDate>Fri, 24 Jun 2005 06:52:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13280</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13280</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;Thanks a lot for your answer I think That I want to use :&lt;br /&gt;&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt;If the button is in the row, "e.Source" will get you the selected row. &lt;br /&gt;&lt;br /&gt;It's work great !&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/13279.aspx</link><pubDate>Thu, 23 Jun 2005 19:14:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13279</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13279.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13279</wfw:commentRss><description>As Agni said, if you are clicking a button on the row, you can look at e.Source.&lt;br /&gt;&lt;br /&gt;Since you have a master table (i.e. row highlighting), you can also find out the row from that... take a look here:&lt;a target="_blank" href=http://www.infopathdev.com/downloads/free/default.aspx?i=c56d9528ec4f4317a5bd469ac4e90b9d&gt;http://www.infopathdev.com/downloads/free/default.aspx?i=c56d9528ec4f4317a5bd469ac4e90b9d&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]&lt;br /&gt;InfoPath Dev</description></item><item><title>Re: C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/13278.aspx</link><pubDate>Thu, 23 Jun 2005 13:26:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13278</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13278</wfw:commentRss><description>Hi,&lt;br /&gt;If the button is in the row, "e.Source" will get you the selected row. &lt;br /&gt;&lt;br /&gt;If the button is at the bottom you can use &lt;br /&gt;&lt;br /&gt;//xPath should poin to the Repeating node&lt;br /&gt;IXMLDOMNode oNodes = getNode("/RootNode/RepeatingNode");]&lt;br /&gt;&lt;br /&gt;//"CTRL22":- you will get this when you see the view.xsl file for that particular repeating table&lt;br /&gt;int iMemberId = Convert.ToInt32(thisXDocument.GetNamedNodeProperty(oNodes, "CTRL22", "-1"));&lt;br /&gt;&lt;br /&gt;This above line will get you the selected the rowID. With that row id you can get the node.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/13277.aspx</link><pubDate>Thu, 23 Jun 2005 13:03:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13277</guid><dc:creator>ScottAtRVC</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13277.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13277</wfw:commentRss><description>Hi Virgul.&lt;br /&gt;This How To will get you started &lt;a href='http://www.infopathdev.com/howto/tutorials/default.aspx?i=09675edc52e94ab8bf79e218eb7218aa' target='_blank' title='http://www.infopathdev.com/howto/tutorials/default.aspx?i=09675edc52e94ab8bf79e218eb7218aa'&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=09675edc52e94ab8bf79e218eb7218aa&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=09675edc52e94ab8bf79e218eb7218aa&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;Cheers.  Scott.</description></item><item><title>C# Select a row in a reapeating table</title><link>https://www.infopathdev.com:443/forums/thread/12474.aspx</link><pubDate>Thu, 23 Jun 2005 07:04:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12474</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12474.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12474</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;What i need to do is:&lt;br /&gt;&lt;br /&gt;I have a reapeating table with a lot of row &lt;br /&gt;&lt;br /&gt;I wan't to click on the row that I want (so now the row is highlighted)!&lt;br /&gt;&lt;br /&gt;Is it possible to now which row is? &lt;br /&gt;&lt;br /&gt;How can I on a button click event catch the correct (current)row(in c#)?&lt;br /&gt;&lt;br /&gt;And use it for populate my primary database!&lt;br /&gt;&lt;br /&gt;Can you give me an example or only the syntax?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks in Advance&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item></channel></rss>