<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Eric Wise</title><link>http://dotnetjunkies.com/WebLog/ewise/default.aspx</link><description>Life, Rants, and .NET</description><dc:language>en-US</dc:language><generator>CommunityServer 1.0 (Build: 1.0.1.50214)</generator><item><title>CodeBetter</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2005/02/02/50403.aspx</link><pubDate>Wed, 02 Feb 2005 15:57:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:50403</guid><dc:creator>ewise</dc:creator><slash:comments>0</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/50403.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=50403</wfw:commentRss><description>&lt;P&gt;With so many of my favorite blogger compatriots moved over to codebetter... I have decided to join them.&lt;/P&gt;
&lt;P&gt;I may cross post for a while, but to be assured of new content better link to &lt;A href="http://codebetter.com/blogs/eric.wise/"&gt;http://codebetter.com/blogs/eric.wise/&lt;/A&gt;&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=50403" width="1" height="1"&gt;</description></item><item><title>Available for work</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2005/01/31/49448.aspx</link><pubDate>Mon, 31 Jan 2005 17:44:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:49448</guid><dc:creator>ewise</dc:creator><slash:comments>0</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/49448.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=49448</wfw:commentRss><description>&lt;P&gt;If anyone in the Cleveland area is looking for a .NET contractor with a specialty in ASP .NET feel free to contact me.&lt;/P&gt;
&lt;P&gt;If you're not in cleveland, and don't mind a virtual employee feel free to contact me.&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=49448" width="1" height="1"&gt;</description></item><item><title>Avoiding Try - Catch</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2005/01/29/48992.aspx</link><pubDate>Sat, 29 Jan 2005 13:31:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:48992</guid><dc:creator>ewise</dc:creator><slash:comments>5</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/48992.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=48992</wfw:commentRss><description>&lt;P&gt;Grant Killian has a &lt;A href="http://codebetter.com/blogs/grant.killian/archive/2005/01/27/48340.aspx"&gt;good article&lt;/A&gt; about why a coder shouldn't use try-catch blocks in just any situation.&amp;nbsp; I am ashamed to admit that back when I first started using .NET I was guilty of the sin he speaks of.&lt;/P&gt;
&lt;P&gt;What I wanted to add to his post was another very common poor usage of try-catch I have seen many inexperienced coders (including myself at one point in time) do.&lt;/P&gt;
&lt;DIV style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 0pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 0pt; FONT-SIZE: 10pt; BACKGROUND: #ffffff; PADDING-BOTTOM: 0pt; BORDER-LEFT: windowtext 1pt solid; COLOR: #000000; PADDING-TOP: 0pt; BORDER-BOTTOM: windowtext 1pt solid; FONT-FAMILY: Courier New"&gt;
&lt;P style="MARGIN: 0px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;try&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ddlMyDropDownList.Items.FindByValue(myValue).Selected = &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt;(Exception ex)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;//Do nothing or display some kind of warning message&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;!--EndFragment--&gt;
&lt;P&gt;Bad Bad Bad!&amp;nbsp; Try this instead:&lt;/P&gt;
&lt;DIV style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 0pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 0pt; FONT-SIZE: 10pt; BACKGROUND: #ffffff; PADDING-BOTTOM: 0pt; BORDER-LEFT: windowtext 1pt solid; COLOR: #000000; PADDING-TOP: 0pt; BORDER-BOTTOM: windowtext 1pt solid; FONT-FAMILY: Courier New"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ListItem li;&lt;/SPAN&gt;
&lt;P style="MARGIN: 0px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;li = myDropDownList.Items.FindByValue(myValue);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(li != &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; li.Selected = &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/DIV&gt;&lt;!--EndFragment--&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=48992" width="1" height="1"&gt;</description></item><item><title>Coming Soon - Easy Assets .NET: Source</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2005/01/26/48571.aspx</link><pubDate>Wed, 26 Jan 2005 17:13:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:48571</guid><dc:creator>ewise</dc:creator><slash:comments>0</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/48571.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=48571</wfw:commentRss><description>

					This page has been moved to &lt;a href="http://codebetter.com/"&gt;CodeBetter.Com&lt;/a&gt;. Please update your links accordingly.  The new post URL is:	&lt;a href="http://codebetter.com/blogs/eric.wise/archive/2005/01/26/48571.aspx"&gt;http://codebetter.com/blogs/eric.wise/archive/2005/01/26/48571.aspx&lt;/a&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=48571" width="1" height="1"&gt;</description></item><item><title>A splash of organizational management</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2005/01/20/46580.aspx</link><pubDate>Thu, 20 Jan 2005 12:24:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:46580</guid><dc:creator>ewise</dc:creator><slash:comments>1</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/46580.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=46580</wfw:commentRss><description>

					This page has been moved to &lt;a href="http://codebetter.com/"&gt;CodeBetter.Com&lt;/a&gt;. Please update your links accordingly.  The new post URL is:	&lt;a href="http://codebetter.com/blogs/eric.wise/archive/2005/01/20/46580.aspx"&gt;http://codebetter.com/blogs/eric.wise/archive/2005/01/20/46580.aspx&lt;/a&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=46580" width="1" height="1"&gt;</description></item><item><title>Of Patterns and SQL Stored Procedures</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2005/01/20/46551.aspx</link><pubDate>Thu, 20 Jan 2005 11:29:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:46551</guid><dc:creator>ewise</dc:creator><slash:comments>0</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/46551.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=46551</wfw:commentRss><description>

					This page has been moved to &lt;a href="http://codebetter.com/"&gt;CodeBetter.Com&lt;/a&gt;. Please update your links accordingly.  The new post URL is:	&lt;a href="http://codebetter.com/blogs/eric.wise/archive/2005/01/20/46551.aspx"&gt;http://codebetter.com/blogs/eric.wise/archive/2005/01/20/46551.aspx&lt;/a&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=46551" width="1" height="1"&gt;</description></item><item><title>Can't... resist... stupid... quiz</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2005/01/16/44815.aspx</link><pubDate>Sun, 16 Jan 2005 13:52:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:44815</guid><dc:creator>ewise</dc:creator><slash:comments>1</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/44815.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=44815</wfw:commentRss><description>

					This page has been moved to &lt;a href="http://codebetter.com/"&gt;CodeBetter.Com&lt;/a&gt;. Please update your links accordingly.  The new post URL is:	&lt;a href="http://codebetter.com/blogs/eric.wise/archive/2005/01/16/44815.aspx"&gt;http://codebetter.com/blogs/eric.wise/archive/2005/01/16/44815.aspx&lt;/a&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=44815" width="1" height="1"&gt;</description></item><item><title>Broadband?</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2005/01/13/44186.aspx</link><pubDate>Fri, 14 Jan 2005 01:50:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:44186</guid><dc:creator>ewise</dc:creator><slash:comments>0</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/44186.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=44186</wfw:commentRss><description>

					This page has been moved to &lt;a href="http://codebetter.com/"&gt;CodeBetter.Com&lt;/a&gt;. Please update your links accordingly.  The new post URL is:	&lt;a href="http://codebetter.com/blogs/eric.wise/archive/2005/01/13/44186.aspx"&gt;http://codebetter.com/blogs/eric.wise/archive/2005/01/13/44186.aspx&lt;/a&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=44186" width="1" height="1"&gt;</description></item><item><title>HOWTO: Configure a datagrid template postback from a textbox</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2005/01/12/43639.aspx</link><pubDate>Wed, 12 Jan 2005 13:55:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:43639</guid><dc:creator>ewise</dc:creator><slash:comments>0</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/43639.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=43639</wfw:commentRss><description>

					This page has been moved to &lt;a href="http://codebetter.com/"&gt;CodeBetter.Com&lt;/a&gt;. Please update your links accordingly.  The new post URL is:	&lt;a href="http://codebetter.com/blogs/eric.wise/archive/2005/01/12/43639.aspx"&gt;http://codebetter.com/blogs/eric.wise/archive/2005/01/12/43639.aspx&lt;/a&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=43639" width="1" height="1"&gt;</description></item><item><title>Nerd Score</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2005/01/05/41736.aspx</link><pubDate>Wed, 05 Jan 2005 22:56:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:41736</guid><dc:creator>ewise</dc:creator><slash:comments>1</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/41736.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=41736</wfw:commentRss><description>

					This page has been moved to &lt;a href="http://codebetter.com/"&gt;CodeBetter.Com&lt;/a&gt;. Please update your links accordingly.  The new post URL is:	&lt;a href="http://codebetter.com/blogs/eric.wise/archive/2005/01/05/41736.aspx"&gt;http://codebetter.com/blogs/eric.wise/archive/2005/01/05/41736.aspx&lt;/a&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=41736" width="1" height="1"&gt;</description></item><item><title>Thoughts on Joel</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2005/01/04/41272.aspx</link><pubDate>Tue, 04 Jan 2005 18:00:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:41272</guid><dc:creator>ewise</dc:creator><slash:comments>0</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/41272.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=41272</wfw:commentRss><description>

					This page has been moved to &lt;a href="http://codebetter.com/"&gt;CodeBetter.Com&lt;/a&gt;. Please update your links accordingly.  The new post URL is:	&lt;a href="http://codebetter.com/blogs/eric.wise/archive/2005/01/04/41272.aspx"&gt;http://codebetter.com/blogs/eric.wise/archive/2005/01/04/41272.aspx&lt;/a&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=41272" width="1" height="1"&gt;</description></item><item><title>Most popular posts</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2004/12/30/39807.aspx</link><pubDate>Thu, 30 Dec 2004 12:40:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:39807</guid><dc:creator>ewise</dc:creator><slash:comments>0</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/39807.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=39807</wfw:commentRss><description>

					This page has been moved to &lt;a href="http://codebetter.com/"&gt;CodeBetter.Com&lt;/a&gt;. Please update your links accordingly.  The new post URL is:	&lt;a href="http://codebetter.com/blogs/eric.wise/archive/2004/12/30/39807.aspx"&gt;http://codebetter.com/blogs/eric.wise/archive/2004/12/30/39807.aspx&lt;/a&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=39807" width="1" height="1"&gt;</description></item><item><title>Year End Summary</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2004/12/30/39805.aspx</link><pubDate>Thu, 30 Dec 2004 12:31:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:39805</guid><dc:creator>ewise</dc:creator><slash:comments>0</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/39805.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=39805</wfw:commentRss><description>

					This page has been moved to &lt;a href="http://codebetter.com/"&gt;CodeBetter.Com&lt;/a&gt;. Please update your links accordingly.  The new post URL is:	&lt;a href="http://codebetter.com/blogs/eric.wise/archive/2004/12/30/39805.aspx"&gt;http://codebetter.com/blogs/eric.wise/archive/2004/12/30/39805.aspx&lt;/a&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=39805" width="1" height="1"&gt;</description></item><item><title>Paint .NET 2.0</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2004/12/27/39181.aspx</link><pubDate>Mon, 27 Dec 2004 23:29:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:39181</guid><dc:creator>ewise</dc:creator><slash:comments>0</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/39181.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=39181</wfw:commentRss><description>

					This page has been moved to &lt;a href="http://codebetter.com/"&gt;CodeBetter.Com&lt;/a&gt;. Please update your links accordingly.  The new post URL is:	&lt;a href="http://codebetter.com/blogs/eric.wise/archive/2004/12/27/39181.aspx"&gt;http://codebetter.com/blogs/eric.wise/archive/2004/12/27/39181.aspx&lt;/a&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=39181" width="1" height="1"&gt;</description></item><item><title>HOWTO: Code a Domain Manager</title><link>http://dotnetjunkies.com/WebLog/ewise/archive/2004/12/23/38532.aspx</link><pubDate>Thu, 23 Dec 2004 13:24:00 GMT</pubDate><guid isPermaLink="false">58df7014-fd75-437c-9641-150997716d1c:38532</guid><dc:creator>ewise</dc:creator><slash:comments>0</slash:comments><comments>http://dotnetjunkies.com/WebLog/ewise/comments/38532.aspx</comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/ewise/commentrss.aspx?PostID=38532</wfw:commentRss><description>

					This page has been moved to &lt;a href="http://codebetter.com/"&gt;CodeBetter.Com&lt;/a&gt;. Please update your links accordingly.  The new post URL is:	&lt;a href="http://codebetter.com/blogs/eric.wise/archive/2004/12/23/38532.aspx"&gt;http://codebetter.com/blogs/eric.wise/archive/2004/12/23/38532.aspx&lt;/a&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=38532" width="1" height="1"&gt;</description></item></channel></rss>