<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Binding infopath dropdown control to a datatable(DataSet)</title><link>https://www.infopathdev.com:443/forums/thread/62756.aspx</link><pubDate>Tue, 04 Jan 2011 16:08:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62756</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62756.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=62756</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;&lt;p&gt;Per the emails you sent me, it seems as if you have a few different data sources that would be used to provide options to the user in the drop down based on who the user is.&lt;/p&gt;&lt;p&gt;One option would be to have a number of drop down controls on your form, each bound to the same field, and each using different data sources for their items. Then use conditional formatting to display the correct drop down to the user. Don&amp;#39;t query all your data sources on load, just query the one you need for the correct drop down in open rules or other rules (whatever the logic is to determine the correct drop down to show).&lt;/p&gt;&lt;p&gt;Another option would be to have an XML file as a secondary data connection, with no values in it, then using qRules or code, copy the correct items in from the correct data source. &lt;/p&gt;</description></item><item><title>Binding infopath dropdown control to a datatable(DataSet)</title><link>https://www.infopathdev.com:443/forums/thread/62662.aspx</link><pubDate>Thu, 30 Dec 2010 11:53:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62662</guid><dc:creator>Pranay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62662.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=62662</wfw:commentRss><description>&lt;p&gt;I need a working C# code where I can bind infopath dropdown control to a datatable...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have some enters like AAA, BBB, CCC .....in a datatable that I have retreived from a sharepoint groups.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I would like to populate the same values into the Dropdown control once the infopath form is loaded &lt;/p&gt;
&lt;p&gt;Let me know if you need any further details &lt;/p&gt;</description></item></channel></rss>