<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: No-code or sandboxed solution code to dynamically query SQL db</title><link>https://www.infopathdev.com:443/forums/thread/77710.aspx</link><pubDate>Wed, 18 Apr 2012 17:05:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77710</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77710.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=77710</wfw:commentRss><description>&lt;p&gt;You should check out the QueryDB web service in DBXL.&amp;nbsp; Without any code, you can use a data connection to the web service to query SQL databases and return data back to your InfoPath form as a secondary schema. &lt;/p&gt;&lt;p&gt;Here is&amp;nbsp;a link for more info and to download a trial: &lt;a href="http://www.qdabra.com/en/products/DBXL.aspx"&gt;http://www.qdabra.com/en/products/DBXL.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>No-code or sandboxed solution code to dynamically query SQL db</title><link>https://www.infopathdev.com:443/forums/thread/77613.aspx</link><pubDate>Mon, 16 Apr 2012 17:14:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77613</guid><dc:creator>cryptics</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77613.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=77613</wfw:commentRss><description>Hi all, I&amp;#39;m working in a no-code (or limited code) environment and I need to dynamically query a SQL database based on the selected value of a drop down control.  I&amp;#39;m using InfoPath 2010, publishing to SharePoint 2010, and accessing SQL Server.  I can do this in code by updating the commandText with C#, but the AdoQueryConnection adoconnection = (AdoQueryConnection)DataConnections[&amp;quot;Data_Connection&amp;quot;]  and adoconnection.ExecuteQuery() are not allowed in a SharePoint sandboxed solution.

I tried tweaking manifest.xsf with no luck. 

I know there are a lot of restrictions here, but I&amp;#39;m hoping someone knows a way.

Thanks for your help!</description></item></channel></rss>