<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Can I pass a parameter through a data connection?</title><link>https://www.infopathdev.com:443/forums/thread/24772.aspx</link><pubDate>Wed, 28 Nov 2007 22:53:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24772</guid><dc:creator>MonkeyCMonkeyDo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24772.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=24772</wfw:commentRss><description>&lt;p&gt;Currently I am using the InfoPath UI to populate these two dropdowns...I have hardcode parameters into the stored proc I exec in the &amp;#39;edit sql&amp;#39; of the data connection wizard. Therefore I do not need them to cascade, they are coming from different tables in the DB.&lt;/p&gt;
&lt;p&gt;After those 2 dropdowns are selected I need to capture that value and pass them as different parameters to the &amp;#39;edit sql&amp;#39; to use in the stored proc...Is this possible?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t think copying the XPath would work in this situation so how do I create the parameter and pass it??&lt;/p&gt;
&lt;p&gt;Thanks for you help!&lt;/p&gt;</description></item><item><title>Re: Can I pass a parameter through a data connection?</title><link>https://www.infopathdev.com:443/forums/thread/24767.aspx</link><pubDate>Wed, 28 Nov 2007 22:28:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24767</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=24767</wfw:commentRss><description>&lt;p&gt;First you need your dropdowns working properly. Do you want them to cascade?&lt;/p&gt;
&lt;p&gt;One you have the parameter then yes you should be able to access it via code an use it on a subsequent query.&lt;/p&gt;</description></item><item><title>Can I pass a parameter through a data connection?</title><link>https://www.infopathdev.com:443/forums/thread/24756.aspx</link><pubDate>Wed, 28 Nov 2007 17:53:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24756</guid><dc:creator>MonkeyCMonkeyDo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24756.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=24756</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if this is possible so I thought I&amp;#39;d ask cause it would make my life a lot easier.&amp;nbsp; Is there a way to pass the value of a drop-down list box as a parameter to a stored proc in the data connection?&amp;nbsp; I have a stored proc that takes 4 parameters, I have two drop-down list boxes that will be selected and I need both of those values to be passed to my stored proc.&amp;nbsp; I have a third drop-down list box that will accept the results of that stored proc.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This doesn&amp;#39;t seem feasible, but if it is I figured I&amp;#39;d find out here.&lt;/p&gt;
&lt;p&gt;My second solution was to capture the values of the first two drop-down list boxes in my code behind...use ADO.NET to pass those values to my stored proc.&amp;nbsp; The problem I run into is how do I map the results of the stored proc in order to populate my third drop-down list box?&lt;/p&gt;
&lt;p&gt;This is a task of a professional...are you out there?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>