<?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>Tech Blog &#187; asp.net</title>
	<atom:link href="http://informationideas.com/news/tag/aspnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://informationideas.com/news</link>
	<description>Using technology to help your business</description>
	<lastBuildDate>Fri, 23 Jul 2010 06:24:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>asp.net formview problem updating data</title>
		<link>http://informationideas.com/news/2009/01/22/aspnet-formview-problem-updating-data/</link>
		<comments>http://informationideas.com/news/2009/01/22/aspnet-formview-problem-updating-data/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 06:47:09 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[formview]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=73</guid>
		<description><![CDATA[Very strange behavior with formviews on asp.net.Â  For some reason, if I declare the SqlDataSource on the page source but then do the binding of the SqlDataSource to the formview in code behind, no error are shown but the data does NOT get updated on edit. So instead of doing this in code behind summary.DataSourceID [...]]]></description>
			<content:encoded><![CDATA[<p>Very strange behavior with formviews on asp.net.Â  For some reason, if I declare the SqlDataSource on the page source but then do the binding of the SqlDataSource to the formview in code behind, no error are shown but the data does NOT get updated on edit.</p>
<p>So instead of doing this in code behind<br />
<code><br />
summary.DataSourceID = "summaryDS";<br />
summary.DataBind();<br />
</code></p>
<p>I need to do this on the page<br />
<code><br />
&lt;asp :FormView ID="summary"<br />
runat="server"<br />
DataSourceID="summaryDS"&gt;<br />
</code></p>
<p><a href="http://informationideas.com/news/2008/07/29/net-formview-edit-mode-problem/">A previous problem I encountered with formview</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/01/22/aspnet-formview-problem-updating-data/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/01/22/aspnet-formview-problem-updating-data/&amp;title=asp.net+formview+problem+updating+data" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/01/22/aspnet-formview-problem-updating-data/&amp;title=asp.net+formview+problem+updating+data" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/01/22/aspnet-formview-problem-updating-data/&amp;t=asp.net+formview+problem+updating+data" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/01/22/aspnet-formview-problem-updating-data/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/01/22/aspnet-formview-problem-updating-data/&amp;title=asp.net+formview+problem+updating+data&amp;summary=Very%20strange%20behavior%20with%20formviews%20on%20asp.net.%C3%82%C2%A0%20For%20some%20reason%2C%20if%20I%20declare%20the%20SqlDataSource%20on%20the%20page%20source%20but%20then%20do%20the%20binding%20of%20the%20SqlDataSource%20to%20the%20formview%20in%20code%20behind%2C%20no%20error%20are%20shown%20but%20the%20data%20does%20NOT%20get%20updated%20on%20edit.%0D%0A%0D%0ASo%20instead%20of%20doing%20this%20in%20code%20behin&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/01/22/aspnet-formview-problem-updating-data/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=asp.net+formview+problem+updating+data+-+http://b2l.me/abz8tm&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/01/22/aspnet-formview-problem-updating-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
