<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Dispose with Using</title>
	<atom:link href="http://blog.dmbcllc.com/2008/11/10/dispose-with-using/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dmbcllc.com/2008/11/10/dispose-with-using/</link>
	<description>ASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest.</description>
	<lastBuildDate>Mon, 15 Mar 2010 11:52:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dew Drop - November 11, 2008 &#124; Alvin Ashcraft's Morning Dew</title>
		<link>http://blog.dmbcllc.com/2008/11/10/dispose-with-using/comment-page-1/#comment-1082</link>
		<dc:creator>Dew Drop - November 11, 2008 &#124; Alvin Ashcraft's Morning Dew</dc:creator>
		<pubDate>Tue, 11 Nov 2008 13:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/11/10/dispose-with-using/#comment-1082</guid>
		<description>[...] Dispose with Using (Dave M. Bush) [...]</description>
		<content:encoded><![CDATA[<p>[...] Dispose with Using (Dave M. Bush) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Stevenson-Leggett</title>
		<link>http://blog.dmbcllc.com/2008/11/10/dispose-with-using/comment-page-1/#comment-1079</link>
		<dc:creator>Robert Stevenson-Leggett</dc:creator>
		<pubDate>Mon, 10 Nov 2008 12:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/11/10/dispose-with-using/#comment-1079</guid>
		<description>Good info.

You can also stack using statements of different types.

A common example is:

string connString = config.ConnectionString;

using(SqlConnection conn = new SqlConnection(connString))
using(SqlCommand cmd = conn.CreateCommand())
{
           //Do database stuff here.
}

Cheers.
Rob.</description>
		<content:encoded><![CDATA[<p>Good info.</p>
<p>You can also stack using statements of different types.</p>
<p>A common example is:</p>
<p>string connString = config.ConnectionString;</p>
<p>using(SqlConnection conn = new SqlConnection(connString))<br />
using(SqlCommand cmd = conn.CreateCommand())<br />
{<br />
           //Do database stuff here.<br />
}</p>
<p>Cheers.<br />
Rob.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.199 seconds -->
