<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Software Development Bits &#187; Data Binding</title>
	<atom:link href="http://www.brunellweb.com/index.php/category/data-binding/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brunellweb.com</link>
	<description>Thoughts, tips, and tricks for .NET development</description>
	<lastBuildDate>Tue, 05 Jan 2010 20:04:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Binding to joined tables</title>
		<link>http://www.brunellweb.com/index.php/2008/05/27/binding-to-joined-tables/</link>
		<comments>http://www.brunellweb.com/index.php/2008/05/27/binding-to-joined-tables/#comments</comments>
		<pubDate>Wed, 28 May 2008 02:15:03 +0000</pubDate>
		<dc:creator>Matt Brunell</dc:creator>
				<category><![CDATA[Data Binding]]></category>

		<guid isPermaLink="false">http://www.brunellweb.com/?p=7</guid>
		<description><![CDATA[Many times it is necessary to bind to a datatable which is made up of multiple database tables.  Most databases are normalized.  In Visual Studio 2005 there was a particular technique to do this.  Write your join statements in stored procedures, and create a table adapter within the dataset designer to use these stored procedures [...]]]></description>
			<content:encoded><![CDATA[<p>Many times it is necessary to bind to a datatable which is made up of multiple database tables.  Most databases are normalized.  In Visual Studio 2005 there was a particular technique to do this.  Write your join statements in stored procedures, and create a table adapter within the dataset designer to use these stored procedures for update/delete and so forth. </p>
<p>With the advent of LINQ to SQL, there is a new way.  First, create your objects, and then bind directly to a LINQ query.  Note however that when binding to a LINQ query, the information is read-only.  If you want a read-write binding to multiple database tables, a table adapter wired up to stored procedures for SELECT, INSERT, UPDATE, and DELETE commands is still the best way to accomplish this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brunellweb.com/index.php/2008/05/27/binding-to-joined-tables/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
