<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>Scott Millett  - All Comments</title><link>http://weblogs.asp.net/scottmillett/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: Avoiding using Try &amp; Catch when setting drop down list selected value</title><link>http://weblogs.asp.net/scottmillett/archive/2008/02/09/avoiding-try-catch-when-setting-drop-down-list-selected-value.aspx#5743898</link><pubDate>Sat, 09 Feb 2008 13:19:23 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5743898</guid><dc:creator>Anatoly</dc:creator><description>&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public static void SetComboValue(ListControl Combo, string Value)&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Combo.SelectedIndex = Combo.Items.IndexOf(Combo.Items.FindByValue(Value));&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5743898" width="1" height="1"&gt;</description></item></channel></rss>