<?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: C#.NET: Getting query results with SqlDataAdapter</title>
	<atom:link href="http://www.kaelisspace.com/wordpress22/2008/09/19/cnet-getting-query-results-with-sqldataadapter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kaelisspace.com/wordpress22/2008/09/19/cnet-getting-query-results-with-sqldataadapter/</link>
	<description>Tips, tricks, and tidbits from a pet-loving computer geek</description>
	<lastBuildDate>Thu, 11 Mar 2010 20:01:28 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Using SqlCommand to populate Label text &#124; Kaeli's Space</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/09/19/cnet-getting-query-results-with-sqldataadapter/comment-page-1/#comment-25125</link>
		<dc:creator>Using SqlCommand to populate Label text &#124; Kaeli's Space</dc:creator>
		<pubDate>Tue, 19 May 2009 17:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=746#comment-25125</guid>
		<description>[...] SqlDataSource doesn&#8217;t work for what you want to do. It&#8217;s a great control, but as I&#8217;ve mentioned before, it can interfere with your plans because of the page lifecycle. You should also know how to run [...]</description>
		<content:encoded><![CDATA[<p>[...] SqlDataSource doesn&#8217;t work for what you want to do. It&#8217;s a great control, but as I&#8217;ve mentioned before, it can interfere with your plans because of the page lifecycle. You should also know how to run [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kaeli</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/09/19/cnet-getting-query-results-with-sqldataadapter/comment-page-1/#comment-9208</link>
		<dc:creator>kaeli</dc:creator>
		<pubDate>Thu, 02 Oct 2008 00:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=746#comment-9208</guid>
		<description>You caught me being lazy with my examples again, didn&#039;t you Jesse? Good catch.</description>
		<content:encoded><![CDATA[<p>You caught me being lazy with my examples again, didn&#8217;t you Jesse? Good catch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Slicer</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/09/19/cnet-getting-query-results-with-sqldataadapter/comment-page-1/#comment-9159</link>
		<dc:creator>Jesse Slicer</dc:creator>
		<pubDate>Tue, 30 Sep 2008 21:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=746#comment-9159</guid>
		<description>Do note that SqlCommand inherits from DbCommand, which implements the IDisposable interface, which means that the command should be disposed when it is done:

 DataSet myDataSet = new DataSet();
 
 using (SqlConnection sqlconnection = new SqlConnection(Properties.Settings.Default.Northwind))
 {
     using (SqlCommand command = new SqlCommand(&quot;select * from products&quot;, sqlconnection))
     {
         SqlDataAdapter adapter = new SqlDataAdapter(command);
         adapter.Fill(myDataSet);
     }
 }</description>
		<content:encoded><![CDATA[<p>Do note that SqlCommand inherits from DbCommand, which implements the IDisposable interface, which means that the command should be disposed when it is done:</p>
<p> DataSet myDataSet = new DataSet();</p>
<p> using (SqlConnection sqlconnection = new SqlConnection(Properties.Settings.Default.Northwind))<br />
 {<br />
     using (SqlCommand command = new SqlCommand(&#8221;select * from products&#8221;, sqlconnection))<br />
     {<br />
         SqlDataAdapter adapter = new SqlDataAdapter(command);<br />
         adapter.Fill(myDataSet);<br />
     }<br />
 }</p>
]]></content:encoded>
	</item>
</channel>
</rss>
