<?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: Populate a Drop-Down list box through code</title><link>https://www.infopathdev.com:443/forums/thread/24995.aspx</link><pubDate>Fri, 07 Dec 2007 20:18:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24995</guid><dc:creator>anotherchrisberry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24995.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=24995</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Did you resolve this yet? I think you could use a secondary data source, bind the drop-down to that, and then populate the secondary data source programatically with the data from the ADO.NET connection.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Populate a Drop-Down list box through code</title><link>https://www.infopathdev.com:443/forums/thread/24857.aspx</link><pubDate>Mon, 03 Dec 2007 17:44:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24857</guid><dc:creator>MonkeyCMonkeyDo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24857.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=24857</wfw:commentRss><description>&lt;p&gt;After reading through the forum for similar posts, I found a couple, but none that answered my question.&lt;/p&gt;
&lt;p&gt;I am attaining information from a DB using the code behind (C#) with ADO.NET&lt;/p&gt;
&lt;p&gt;I am receiving a list of values that I would like to populate a drop-down list box.&amp;nbsp; How would you do that through the code, because the option of using InfoPath&amp;#39;s UI is not feasible.&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated!&lt;/p&gt;</description></item></channel></rss>