<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>JFDI</title>
	<atom:link href="http://fabdata.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fabdata.wordpress.com</link>
	<description>Don't ask me, just f**kin do it.......</description>
	<lastBuildDate>Sat, 24 Mar 2007 18:10:08 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='fabdata.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/b319cf4c0e9c05e550599010c5094ba4?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>JFDI</title>
		<link>http://fabdata.wordpress.com</link>
	</image>
			<item>
		<title>Object reference not set to an instance of an object. (SQLEditors)</title>
		<link>http://fabdata.wordpress.com/2007/03/24/object-reference-not-set-to-an-instance-of-an-object-sqleditors/</link>
		<comments>http://fabdata.wordpress.com/2007/03/24/object-reference-not-set-to-an-instance-of-an-object-sqleditors/#comments</comments>
		<pubDate>Sat, 24 Mar 2007 18:10:08 +0000</pubDate>
		<dc:creator>fabdata</dc:creator>
				<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://fabdata.wordpress.com/2007/03/24/object-reference-not-set-to-an-instance-of-an-object-sqleditors/</guid>
		<description><![CDATA[SQL Server 2005, SQL Server Management Studio (SSMS)
When attempting to modify a table in the SSMS (right-click on the table, click &#8220;Modify table&#8221; option) I receved the error, &#8220;Object reference not set to an instance of an object. (SQLEditors)&#8221; .
This error appears to be a problem with the registry installation for the WorkStation/Client Components. I managed to repair this by removing and then [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fabdata.wordpress.com&blog=378302&post=9&subd=fabdata&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>SQL Server 2005, SQL Server Management Studio (SSMS)</strong></p>
<p>When attempting to modify a table in the SSMS (right-click on the table, click &#8220;Modify table&#8221; option) I receved the error, <em>&#8220;Object reference not set to an instance of an object. (SQLEditors)&#8221;</em> .</p>
<p>This error appears to be a problem with the registry installation for the WorkStation/Client Components. I managed to repair this by removing and then reinstalling the &#8216;WorkStation Components&#8217; via the Control Pannel | Add, Remove Programs.</p>
<p><em>I suspect, but cannot be sure, that this problem may have arisen due to a install of SQL Server Express after I had already installed SQL Server 2005.</em></p>
<p>The steps I followed are as follows;</p>
<p><em>You will need the SQL Server 2005 install disk to remove/install components. </em><em>Also, ensure you close Visual Studio and SQL Server Management Studio if they are open.</em></p>
<ol>
<li>Control Panel | Add, Remove Programs.</li>
<li>Select SQL Server 2005, Click the Change button.</li>
<li>On the Component Selection dialog, select &#8216;Workstation Components&#8217;.</li>
<li>Click the next button on the Wizard, until you come to the Change or Remove Instance dialog.</li>
<li>Select &#8216;Changed Installed Components&#8217;.</li>
<li>On the Client Components option, right-click and select &#8216;Entire feature will be unavailble&#8217;.</li>
<li>Click the Next button and then click the Install Button.</li>
<li>The components will now be removed, this will take some time.</li>
<li>After the components have been removed, Repeat Steps 1 to 3 and click the next button on the Server Installation wizard to start the System Configuration Check dialog.</li>
<li>You may have to reboot your machine, inspect the Actions for a <em>Pending Reboot Required Message</em>. Reboot if required.</li>
<li>Click the next button on the Wizard, until you come to the Change or Remove Instance dialog.</li>
<li>Select &#8216;Changed Installed Components&#8217;.</li>
<li>On the Client Components option, select &#8216;Entire feature will be installed on local hard drive&#8217;.</li>
<li>Click the Next button and then click the Install Button.</li>
<li>The Workstation Components will now be installed. This may take some time.</li>
<li>Installation should now be complete.</li>
</ol>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fabdata.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fabdata.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fabdata.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fabdata.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fabdata.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fabdata.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fabdata.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fabdata.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fabdata.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fabdata.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fabdata.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fabdata.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fabdata.wordpress.com&blog=378302&post=9&subd=fabdata&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fabdata.wordpress.com/2007/03/24/object-reference-not-set-to-an-instance-of-an-object-sqleditors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ffdd80eeaae1dddc8ee36caaa78f9c80?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Father Jack</media:title>
		</media:content>
	</item>
		<item>
		<title>How To Set Default Focus To a Server Control</title>
		<link>http://fabdata.wordpress.com/2007/03/24/how-to-set-default-focus-to-a-server-control/</link>
		<comments>http://fabdata.wordpress.com/2007/03/24/how-to-set-default-focus-to-a-server-control/#comments</comments>
		<pubDate>Sat, 24 Mar 2007 10:27:38 +0000</pubDate>
		<dc:creator>fabdata</dc:creator>
				<category><![CDATA[ASP.NET 2.0]]></category>

		<guid isPermaLink="false">http://fabdata.wordpress.com/2007/03/24/how-to-set-default-focus-to-a-server-control/</guid>
		<description><![CDATA[ASP.NET 2.0
You can easily set the focus to a specific control when your web form is loaded, by adding the line
Page.SetFocus(&#60;ControlID&#62;);
to your Page_Load() event.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fabdata.wordpress.com&blog=378302&post=8&subd=fabdata&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>ASP.NET 2.0</strong></p>
<p>You can easily set the focus to a specific control when your web form is loaded, by adding the line</p>
<blockquote><p><code>Page.SetFocus(&lt;ControlID&gt;);</code></p></blockquote>
<p>to your <code>Page_Load()</code> event.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fabdata.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fabdata.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fabdata.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fabdata.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fabdata.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fabdata.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fabdata.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fabdata.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fabdata.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fabdata.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fabdata.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fabdata.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fabdata.wordpress.com&blog=378302&post=8&subd=fabdata&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fabdata.wordpress.com/2007/03/24/how-to-set-default-focus-to-a-server-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ffdd80eeaae1dddc8ee36caaa78f9c80?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Father Jack</media:title>
		</media:content>
	</item>
		<item>
		<title>Must declare the scalar variable &#8220;@ID&#8221;</title>
		<link>http://fabdata.wordpress.com/2007/03/23/must-declare-the-scalar-variable-id/</link>
		<comments>http://fabdata.wordpress.com/2007/03/23/must-declare-the-scalar-variable-id/#comments</comments>
		<pubDate>Fri, 23 Mar 2007 19:56:51 +0000</pubDate>
		<dc:creator>fabdata</dc:creator>
				<category><![CDATA[ASP.NET 2.0]]></category>

		<guid isPermaLink="false">http://fabdata.wordpress.com/2007/03/23/must-declare-the-scalar-variable-id/</guid>
		<description><![CDATA[GridView  &#8211; Auto Generated SQL Insert, Update And Delete Statements
ASP.NET 2.0 with SQL Server 2005
I recently ran into the error &#8216;Must declare the scalar variable &#8220;@ID&#8221; &#8217; when attempting to delete rows from a GridView.  I had created the GridView via the smart tag and wizard options, so for a while I was stumped as to what [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fabdata.wordpress.com&blog=378302&post=3&subd=fabdata&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>GridView  &#8211; </strong><strong>Auto Generated SQL Insert, Update And Delete Statements</strong></p>
<p><strong>ASP.NET 2.0 with SQL Server 2005</strong></p>
<p>I recently ran into the error <em>&#8216;Must declare the scalar variable &#8220;@ID&#8221; &#8217;</em> when attempting to delete rows from a GridView.  I had created the GridView via the smart tag and wizard options, so for a while I was stumped as to what the was the cause of the problem. I felt I knew what the error message was indicating, but could not figure out why it was occurring. A little Googling confirmed my suspicion that the parameter @ID was not being set in the SQL generated by the SQLDataSource but none of the posts I read revealed how I might fix it.</p>
<p>Because I had built the page using the various wizards I thought there was nothing further for me to do, but after a little further digging I discovered I had not set the <a target="_blank" href="http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.datakeynames.aspx">DataKeyNames</a> property for the GridView. Without this property set, the GridView cannot automatically wire up the parameter values and thus the generated SQL queries fail.</p>
<p><em>Double check the DataKeyNames property should you be experiencing this problem.</em></p>
<p>Depending how you have created the GridView and SQLDataSource, you may have to manually set the parameters in response to an SQLDataSource Inserting, Updating or Deleting event.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fabdata.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fabdata.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fabdata.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fabdata.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fabdata.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fabdata.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fabdata.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fabdata.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fabdata.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fabdata.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fabdata.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fabdata.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fabdata.wordpress.com&blog=378302&post=3&subd=fabdata&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fabdata.wordpress.com/2007/03/23/must-declare-the-scalar-variable-id/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ffdd80eeaae1dddc8ee36caaa78f9c80?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Father Jack</media:title>
		</media:content>
	</item>
	</channel>
</rss>