<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Jeff Papiez - SQL Server Test Developer</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/jpapiez/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/jpapiez/feed.xml</link>
    <description>My random thoughts, ideas, comments, and brain dumping ground.</description>
    <lastBuildDate>Tue, 16 Apr 2019 05:14:57 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Windows Home Server Announced</title>
      <link>https://docs.microsoft.com/archive/blogs/jpapiez/windows-home-server-announced</link>
      <pubDate>Mon, 08 Jan 2007 12:41:38 GMT</pubDate>
      <dc:creator><![CDATA[jpapiez]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jpapiez/2007/01/08/windows-home-server-announced/</guid>
      <description><![CDATA[Yesterday at the CES, we announced the future availability of Windows Home Server, a new server...]]></description>
      <content:encoded><![CDATA[<p>Yesterday at the CES, we announced the future availability of Windows Home Server, a new server designed to be the central digital nervous system for the home. I've been running Windows Home Server at home for about 3 months now and I tell you it's just about what I was looking for: centralized storage of music, photos, videos, software, computer backups. My hats off to the Windows Home Server team for bringing together some nifty techology to market.</p> <p>Windows Home Server is super simple to operate. It's all setup to keep itself up to date with all the latest Windows security updates, so there's nothing to manage for the home owner. Turn it on, connect it to your network, and forget about it.</p> <p>Adding storage to Windows Home Server couldn't be any more simple. Using either internal or external drives, simply attach the drive then use the Windows Home Server client to make the new drive available to the storage system. There's no RAID configuration to step through because Windows Home Server has its replication technology baked in. This technology enables the user to replace existing drives with larger ones as they become available. What's more is you can use any size drive when adding to your server.</p> <p>At some point I'd love to see Windows Home Server become a centralized Media Center Server where I could outfit one (or more) servers with ample storage and TV tuners to record all our favorite shows and make them available throughout the house via Media Center Extenders (XBOX 360). As it stands now I can use Windows Media Connect to expose Music, Photos, and Videos to extender devices but no such luck for MCE recorded TV... though I suppose I could do this in a round about sort of way by converting the TV shows to MPEG but then I lose some of the rich meta-data and navigation options allowed for TV that is not available for Videos.</p> <p>All in all though, I look forward to the final release Windows Home Server. It's been long in the making and definately something my household will benefit from!</p>]]></content:encoded>
    </item>
    <item>
      <title>Adding n tuners in MCE</title>
      <link>https://docs.microsoft.com/archive/blogs/jpapiez/adding-n-tuners-in-mce</link>
      <pubDate>Thu, 06 Jul 2006 11:49:00 GMT</pubDate>
      <dc:creator><![CDATA[jpapiez]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jpapiez/2006/07/06/adding-n-tuners-in-mce/</guid>
      <description><![CDATA[http://blogs.msdn.com/peterrosser/archive/2006/04/03/MCE_TechTalk_1.aspx]]></description>
      <content:encoded><![CDATA[<P><A href="http://blogs.msdn.com/peterrosser/archive/2006/04/03/MCE_TechTalk_1.aspx">http://blogs.msdn.com/peterrosser/archive/2006/04/03/MCE_TechTalk_1.aspx</A></P>]]></content:encoded>
    </item>
    <item>
      <title>Windows Live Messenger Released</title>
      <link>https://docs.microsoft.com/archive/blogs/jpapiez/windows-live-messenger-released</link>
      <pubDate>Tue, 20 Jun 2006 10:40:00 GMT</pubDate>
      <dc:creator><![CDATA[jpapiez]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jpapiez/2006/06/20/windows-live-messenger-released/</guid>
      <description><![CDATA[Windows Live Messenger is released! Pick it up here: http://get.live.com/messenger/overview]]></description>
      <content:encoded><![CDATA[Windows Live Messenger is released! Pick it up here: <A href="http://get.live.com/messenger/overview">http://get.live.com/messenger/overview</A>]]></content:encoded>
    </item>
    <item>
      <title>Using P/Invoke to Call Unmanaged APIs from Your Managed Classes</title>
      <link>https://docs.microsoft.com/archive/blogs/jpapiez/using-pinvoke-to-call-unmanaged-apis-from-your-managed-classes</link>
      <pubDate>Fri, 14 Apr 2006 09:14:00 GMT</pubDate>
      <dc:creator><![CDATA[jpapiez]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jpapiez/2006/04/14/using-pinvoke-to-call-unmanaged-apis-from-your-managed-classes/</guid>
      <description><![CDATA[I came across this article on MSDN this morning about using P/Invoke in managed code. Had I came...]]></description>
      <content:encoded><![CDATA[<P>I came across this article on MSDN this morning about using P/Invoke in managed code. Had I came across this article a few weeks back it likely would have saved me some time!</P>
<P><A href="http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dv_vstechart/html/pinvoke.asp">http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dv_vstechart/html/pinvoke.asp</A></P>]]></content:encoded>
    </item>
    <item>
      <title>Using WatchedFolders on Media Center 2005</title>
      <link>https://docs.microsoft.com/archive/blogs/jpapiez/using-watchedfolders-on-media-center-2005</link>
      <pubDate>Wed, 18 Jan 2006 23:28:00 GMT</pubDate>
      <dc:creator><![CDATA[jpapiez]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jpapiez/2006/01/18/using-watchedfolders-on-media-center-2005/</guid>
      <description><![CDATA[I don't know how many times I've had to search for this on TheGreenButton, so I thought I'd post the...]]></description>
      <content:encoded><![CDATA[<P>I don't know how many times I've had to search for this on TheGreenButton, so I thought I'd post the info here so I always know where to find it. The problem is this: I have 2 Media Center 2005 machines and one file server. Recorded TV that I want to keep around I copy to the file server and I want both my MCE machines to be able to display it in Recorded TV. I also want to be able to view recorded TV from any MCE machine, regardless of where it lives. So, here's how to configure your MCE machines and file server to play well in this scenario, aggregated from this <A href="http://www.thegreenbutton.com/community/shwmessage.aspx?forumid=42&amp;messageid=63452">post</A> on TheGreenButton.com.</P>
<P>You probably should not do this unless you're behind a hardware firewall or NAT (like a cable/DSL router).</P>
<P>So here goes:</P>
<OL>
<LI>Have both machines on the same network.&nbsp; If the machines can't ping each other by name, this will not work. 
<LI>Share your recorded TV folder on each machine.&nbsp; Give "Everyone" full control on the share and on the folder itself.&nbsp; You can name the share the default, "Recorded TV" if you want, that's what I do. 
<LI>Open RegEdit, and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\Recording.&nbsp; Find the entry "WatchedFolders" and open it up. 
<LI>On each machine, add a new line to this entry at the bottom, pointing to the other machine's Recorded TV share.&nbsp; For example, see below the steps.&nbsp; You have to do this on&nbsp;all machines. 
<LI>With RegEdit still open, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters 
<LI>Find the NullSessionShares entery and add the name of your share local share (e.g. "Recorded TV" without the quotes).&nbsp; 
<LI>Close RegEdit. 
<LI>Click start, run, and open gpedit.msc.&nbsp; Navigate under Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options, and find "Network access:&nbsp; Let Everyone permissions apply to anonymous users".&nbsp; Open that up, and change the setting to enabled.&nbsp; Do this on&nbsp;all machines. 
<LI>Reboot, and check your recorded TV.&nbsp; Shows from both MCE's should show up on both MCE's!<BR></LI></OL>
<P>The sample Watched Folders:</P>
<P>C:\Documents and Settings\All Users\Documents\Recorded TV<BR>E:\Recorded TV<BR><A href="file://\\machine1\Recorded">\\machine1\Recorded</A> TV<BR><A href="file://machine1/Recorded">\\machine1\Recorded</A> TV<BR></P>]]></content:encoded>
    </item>
    <item>
      <title>Unable to Install SQL 2005 Management Tools with Visual Studio 2005 installed.</title>
      <link>https://docs.microsoft.com/archive/blogs/jpapiez/unable-to-install-sql-2005-management-tools-with-visual-studio-2005-installed</link>
      <pubDate>Mon, 14 Nov 2005 12:25:00 GMT</pubDate>
      <dc:creator><![CDATA[jpapiez]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jpapiez/2005/11/14/unable-to-install-sql-2005-management-tools-with-visual-studio-2005-installed/</guid>
      <description><![CDATA[SQL Server Express Edition 2005 (Express) installs a set of command line tools that it calls...]]></description>
      <content:encoded><![CDATA[<P>SQL Server Express Edition 2005 (Express) installs a set of command line tools that it calls Workstation Components, which happens to collide with the Management Tools for the other SQL Server 2005 editions. This presents a problem if you first install Visual Studio 2005 and SQL Server Express 2005 before installing SQL Server 2005 on the same machine. The Workstation Components shipped with Express consist of command line tools only, no SQL Management Studio. </P>
<P>If you already have Express installed and you want to install the full set of Workstation Components from a different edition, such as Developer, you'll first need to remove the Workstation Components from the Control Panel. Once that's done you can install the Workstation Components that include SQL Management Studio.</P>
<P>j.</P>]]></content:encoded>
    </item>
    <item>
      <title>Watch the PDC05 Sessions</title>
      <link>https://docs.microsoft.com/archive/blogs/jpapiez/watch-the-pdc05-sessions</link>
      <pubDate>Tue, 08 Nov 2005 20:45:00 GMT</pubDate>
      <dc:creator><![CDATA[jpapiez]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jpapiez/2005/11/08/watch-the-pdc05-sessions/</guid>
      <description><![CDATA[Missed the PDC like I did? Well here's your chance to catch up. You can view all the sessions from...]]></description>
      <content:encoded><![CDATA[<P>Missed the PDC like I did? Well here's your chance to catch up. You can view all the sessions from here:</P>
<P><A href="http://microsoft.sitestream.com/PDC05/">http://microsoft.sitestream.com/PDC05/</A></P>
<P>My favorite so far: <A href="http://microsoft.sitestream.com/PDC05/TLN/TLNL09_files/Default.htm#nopreload=1&amp;autostart=1">TLNL09: Tips &amp; Tricks: Productivity Tips for the Visual C# 2005 IDE</A></P>]]></content:encoded>
    </item>
    <item>
      <title>SQL Server 2005 Upgrade Advisor and SQL Clusters</title>
      <link>https://docs.microsoft.com/archive/blogs/jpapiez/sql-server-2005-upgrade-advisor-and-sql-clusters</link>
      <pubDate>Wed, 28 Sep 2005 12:25:00 GMT</pubDate>
      <dc:creator><![CDATA[jpapiez]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jpapiez/2005/09/28/sql-server-2005-upgrade-advisor-and-sql-clusters/</guid>
      <description><![CDATA[If you've thought about&nbsp;using SQL Server 2005 Upgrade Advisor to determine the upgradability of...]]></description>
      <content:encoded><![CDATA[<P><FONT face=Arial size=2>If you've thought about&nbsp;using SQL Server 2005 Upgrade Advisor to determine the upgradability of your SQL Server 2000 cluster, be aware of the following issue. When you launch the Upgrade Advisor Analysis Wizard, you're prompted for the Server Name, which defaults to that of the local machine where the wizard is running. When scanning a cluster you need to enter the name of the Virtual SQL Server Instance. After checking the SQL Server component and clicking the next button, you'll be given a list of instances to scan.</FONT></P>
<P><FONT face=Arial size=2>The list of instances will include all SQL Server instances, whether they are local to the active node, or if they belong to other virtual SQL Server instances that run on the cluster. Selecting an instance other than the instance owned by the Virtual SQL Server cluster will ultimately raise an error when the wizard attempts to connect to the server and enumerate the list of available databases. To avoid this error, be sure to select the appropriate instance for the "server" you're connected to.</FONT></P>
<P><FONT face=Arial size=2>J.</FONT></P>]]></content:encoded>
    </item>
    <item>
      <title>Passing a DataSet to a SQLCLR Stored Procedure</title>
      <link>https://docs.microsoft.com/archive/blogs/jpapiez/passing-a-dataset-to-a-sqlclr-stored-procedure</link>
      <pubDate>Mon, 26 Sep 2005 14:15:33 GMT</pubDate>
      <dc:creator><![CDATA[jpapiez]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jpapiez/2005/09/26/passing-a-dataset-to-a-sqlclr-stored-procedure/</guid>
      <description><![CDATA[Is it possible to pass a DataSet to SQL and process the data in a SQLCLR stored procedure? This is...]]></description>
      <content:encoded><![CDATA[<div>Is it possible to pass a DataSet to SQL and process the data in a SQLCLR stored procedure? This is the question I set out to answer.</div>
<div> </div>
<div>The .NET Framework 2.0 adds some features to the DataSet that make this scenario possible (WriteXml, ReadXml). I created a sample that proves this concept.</div>
<div> </div>
<div>First we need the CLR stored proc to handle the passed in dataset. Start by creating a new "SQL Server Project" in Visual Studio 2005. This example uses the Northwind database installed with SQLExpress.</div>
<div> </div>
<div><font color="#0000ff"><div><font style="FONT-SIZE: 9pt" face="Courier New">using System;</font></div>
</font><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" face="Courier New">using System.Data;</font></div>
</font><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" face="Courier New">using System.Data.SqlClient;</font></div>
</font><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" face="Courier New">using System.Data.SqlTypes;</font></div>
</font><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" face="Courier New">using Microsoft.SqlServer.Server;</font></div>
</font><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" face="Courier New">using System.IO;</font></div>
</font><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" face="Courier New">using System.Xml.Serialization;</font></div>
</font><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" face="Courier New">using System.Text;</font></div>
<div><font face="Courier New"></font> </div>
</font><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt">public <font style="FONT-SIZE: 9pt" color="#0000ff">partial</font><font style="FONT-SIZE: 9pt" color="#0000ff">class</font><font style="FONT-SIZE: 9pt" color="#008080">StoredProcedures</font></font></font></div>
</font><div><font style="FONT-SIZE: 9pt" face="Courier New">{</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New">  [Microsoft.SqlServer.Server.<font style="FONT-SIZE: 9pt" color="#008080">SqlProcedure</font>]</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">  public</font><font style="FONT-SIZE: 9pt" color="#0000ff">static</font><font style="FONT-SIZE: 9pt" color="#0000ff">void</font> uspProcessCustomers(<font style="FONT-SIZE: 9pt" color="#0000ff">string</font> customerData)</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New">  {</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000">    // Need to convert the inbound string to a byte array</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    UTF8Encoding</font> encoding = <font style="FONT-SIZE: 9pt" color="#0000ff">new</font><font style="FONT-SIZE: 9pt" color="#008080">UTF8Encoding</font>();</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    DataSet</font> ds = <font style="FONT-SIZE: 9pt" color="#0000ff">new</font><font style="FONT-SIZE: 9pt" color="#008080">DataSet</font>();</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"></font></font></font></font> </div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font>// Convert the string to a byte array, then load into a MemoryStream</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font>using</font> (<font style="FONT-SIZE: 9pt" color="#008080">MemoryStream</font> ms = <font style="FONT-SIZE: 9pt" color="#0000ff">new</font><font style="FONT-SIZE: 9pt" color="#008080">MemoryStream</font>(encoding.GetBytes(customerData)))</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font>{</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">  </font></font></font></font></font></font>// Populate the DataSet from the MemoryStream</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">  </font></font></font></font></font></font>ds.ReadXml(ms);</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font>}</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"></font></font></font></font> </div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font>// Iterate through the dataset and process each record.</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font>foreach</font> (<font style="FONT-SIZE: 9pt" color="#008080">DataRow</font> dr <font style="FONT-SIZE: 9pt" color="#0000ff">in</font> ds.Tables[<font style="FONT-SIZE: 9pt" color="#800000">"customers"</font>].Rows)</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font>{</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">  </font></font></font></font></font></font></font></font></font></font>if</font> (dr.RowState != <font style="FONT-SIZE: 9pt" color="#008080">DataRowState</font>.Unchanged &amp;&amp; </font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt">          dr.RowState != <font style="FONT-SIZE: 9pt" color="#008080">DataRowState</font>.Detached)</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">  </font></font></font></font></font></font></font></font></font></font>{</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font></font></font></font></font></font></font></font></font></font>string</font> procName = <font style="FONT-SIZE: 9pt" color="#0000ff">string</font>.Empty;</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font></font></font></font></font></font></font></font></font></font>// Instantiate a SqlCommand object to perform the</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font></font></font></font></font></font></font>// required DB operation</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font></font></font></font></font></font></font>using</font> (<font style="FONT-SIZE: 9pt" color="#008080">SqlCommand</font> cmd = <font style="FONT-SIZE: 9pt" color="#0000ff">new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlCommand</font>())</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font></font></font></font></font></font></font>{</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">      </font></font></font></font></font></font></font></font></font>cmd.CommandType = <font style="FONT-SIZE: 9pt" color="#008080">CommandType</font>.StoredProcedure;</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">      </font></font></font></font></font></font></font></font></font></font>// determine which procedure to execute </font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">      </font></font></font></font></font></font></font></font></font></font>// based on the state of the row</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">      </font></font></font></font></font></font></font></font></font></font>switch</font> (dr.RowState)</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">      </font></font></font></font></font></font></font></font></font></font>{</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">        </font></font></font></font></font></font></font></font></font></font>case</font><font style="FONT-SIZE: 9pt" color="#008080">DataRowState</font>.Added:</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">        </font></font></font></font></font></font></font></font></font></font></font></font></font>case</font><font style="FONT-SIZE: 9pt" color="#008080">DataRowState</font>.Modified:</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font>if</font> (dr.RowState == <font style="FONT-SIZE: 9pt" color="#008080">DataRowState</font>.Added)</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>{</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">            </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>procName = <font style="FONT-SIZE: 9pt" color="#800000">"uspInsCustomer"</font>;</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>}</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>else</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>{</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">            </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>procName = <font style="FONT-SIZE: 9pt" color="#800000">"uspUpdCustomer"</font>;</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>}</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"></font></font></font></font></font></font></font></font></font></font></font></font></font></font> </div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>// Populate the Parameters collection</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Parameters.Add(</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">                  new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@customerID"</font>, dr[<font style="FONT-SIZE: 9pt" color="#800000">"CustomerID"</font>].ToString()));</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Parameters.Add(</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">                  </font></font>new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@companyName"</font>, dr[<font style="FONT-SIZE: 9pt" color="#800000">"CompanyName"</font>].ToString()));</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Parameters.Add(</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">                  </font></font>new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@contactName"</font>, dr[<font style="FONT-SIZE: 9pt" color="#800000">"ContactName"</font>].ToString()));</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Parameters.Add(</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">                  </font></font>new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@contactTitle"</font>, dr[<font style="FONT-SIZE: 9pt" color="#800000">"ContactTitle"</font>].ToString()));</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Parameters.Add(</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">                  </font></font>new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@address"</font>, dr[<font style="FONT-SIZE: 9pt" color="#800000">"Address"</font>].ToString()));</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Parameters.Add(</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">                  </font></font>new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@city"</font>, dr[<font style="FONT-SIZE: 9pt" color="#800000">"City"</font>].ToString()));</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Parameters.Add(</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">                  </font></font>new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@region"</font>, dr[<font style="FONT-SIZE: 9pt" color="#800000">"Region"</font>].ToString()));</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Parameters.Add(</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">                  </font></font>new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@postalCode"</font>, dr[<font style="FONT-SIZE: 9pt" color="#800000">"PostalCode"</font>].ToString()));</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Parameters.Add(</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">                  </font></font>new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@country"</font>, dr[<font style="FONT-SIZE: 9pt" color="#800000">"Country"</font>].ToString()));</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Parameters.Add(</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">                  </font></font>new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@phone"</font>, dr[<font style="FONT-SIZE: 9pt" color="#800000">"Phone"</font>].ToString()));</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Parameters.Add(</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">                  </font></font>new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@fax"</font>, dr[<font style="FONT-SIZE: 9pt" color="#800000">"Fax"</font>].ToString()));</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>break</font>;</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">        </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>case</font><font style="FONT-SIZE: 9pt" color="#008080">DataRowState</font>.Deleted:</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>procName = <font style="FONT-SIZE: 9pt" color="#800000">"uspDelCustomer"</font>;</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font> </div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008000"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>// Populate the Parameters collection</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Parameters.Add(</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">              </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@customerID"</font>, dr[<font style="FONT-SIZE: 9pt" color="#800000">"CustomerID"</font>].ToString()));</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">          </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>break</font>;</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">      </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>}</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"></font></font></font> </div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">      </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>using</font> (<font style="FONT-SIZE: 9pt" color="#008080">SqlConnection</font> cxn = <font style="FONT-SIZE: 9pt" color="#0000ff">new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlConnection</font>(<font style="FONT-SIZE: 9pt" color="#800000">"context connection=true"</font>))</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">      </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>{</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">        </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Connection = cxn;</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">        </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.CommandText = procName;</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">        </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Connection.Open();</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">        </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.ExecuteNonQuery();</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">        </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>cmd.Connection.Close();</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">      </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>}</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>}</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">    <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">  </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>}</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">  <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">  </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>}</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New">  }</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New">}</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"></font> </div>
<div>If you use Visual Studio to deploy the stored procedure to the database you'll need to drop and recreate the procedure. This is because the procedure gets created with the customerData parameter as NVarChar(4000). In order to accept even a minimal DataSet (in my test I populated the DS with 10 records), 4000 chars isn't going to be large enough. To get around this you can use the new variable text types in SQL Server 2005, in this case NVarChar(max):</div>
<div> </div>
<div><font color="#0000ff"><div style="PADDING-LEFT: 50px"><font style="FONT-SIZE: 9pt" face="Courier New">CREATE PROCEDURE uspProcessCustomers </font></div>
<div style="PADDING-LEFT: 50px"><font style="FONT-SIZE: 9pt" face="Courier New">@CustomerData <font style="FONT-SIZE: 9pt" color="#0000ff">AS </font>NVarChar(<font style="FONT-SIZE: 9pt" color="#0000ff">max</font>)</font></div>
</font><font style="FONT-SIZE: 9pt" face="Courier New" color="#0000ff"><div style="PADDING-LEFT: 50px">AS </div>
</font><div style="PADDING-LEFT: 50px"><font style="FONT-SIZE: 9pt" face="Courier New">EXTERNAL <font style="FONT-SIZE: 9pt" color="#0000ff">NAME </font>SQLData.StoredProcedures.uspProcessCustomers</font></div>
</div>
<div> </div>
<div>The procedures for inserting/updating/deleting aren't that interesting, so I'll leave those to your imagination. Now we need a client app that consumes this stored procedure. Start by creating a new Windows Forms client. Add to the client a button, then add the following to the button click event handler:</div>
<div> </div>
<div><div><font face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">private</font><font style="FONT-SIZE: 9pt" color="#0000ff">void</font> button1_Click(<font style="FONT-SIZE: 9pt" color="#0000ff">object</font> sender, <font style="FONT-SIZE: 9pt" color="#008080">EventArgs</font> e)</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New">{</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   this</font>.Cursor = <font style="FONT-SIZE: 9pt" color="#008080">Cursors</font>.WaitCursor;</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font>this</font>.button1.Enabled = <font style="FONT-SIZE: 9pt" color="#0000ff">false</font>;</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#008080">   </font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" color="#008000">   // Create the dataset</font></div>
<font style="FONT-SIZE: 9pt">   </font></font></font><font style="FONT-SIZE: 9pt">DataSet</font></font><font style="FONT-SIZE: 9pt"> ds = <font style="FONT-SIZE: 9pt" color="#0000ff">new</font><font style="FONT-SIZE: 9pt" color="#008080">DataSet</font>();</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"></font></font></font></font> </div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"></font></font></font></font> </div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" color="#008000">   // Create the data table</font></div>
<font style="FONT-SIZE: 9pt">   </font></font></font><font style="FONT-SIZE: 9pt">DataTable</font></font><font style="FONT-SIZE: 9pt"> dt = <font style="FONT-SIZE: 9pt" color="#0000ff">new</font><font style="FONT-SIZE: 9pt" color="#008080">DataTable</font>(<font style="FONT-SIZE: 9pt" color="#800000">"Customers"</font>);</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>ds.Tables.Add(dt);</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#008080"></font></font> </div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" color="#008000">   // Create the table schema</font></div>
<font style="FONT-SIZE: 9pt">   </font></font></font><font style="FONT-SIZE: 9pt">DataColumn</font></font><font style="FONT-SIZE: 9pt"> dc = dt.Columns.Add(<font style="FONT-SIZE: 9pt" color="#800000">"CustomerID"</font>, <font style="FONT-SIZE: 9pt" color="#0000ff">typeof</font>(<font style="FONT-SIZE: 9pt" color="#0000ff">string</font>));</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"></font></font></font> </div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" color="#008000">   // the first column is the primary key</font></div>
<font style="FONT-SIZE: 9pt">   </font></font></font><font style="FONT-SIZE: 9pt">dc.AllowDBNull = <font style="FONT-SIZE: 9pt" color="#0000ff">false</font>;</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>dc.Unique = <font style="FONT-SIZE: 9pt" color="#0000ff">true</font>;</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>dt.Columns.Add(<font style="FONT-SIZE: 9pt" color="#800000">"CompanyName"</font>, <font style="FONT-SIZE: 9pt" color="#0000ff">typeof</font>(<font style="FONT-SIZE: 9pt" color="#0000ff">string</font>));</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>dt.Columns.Add(<font style="FONT-SIZE: 9pt" color="#800000">"ContactName"</font>, <font style="FONT-SIZE: 9pt" color="#0000ff">typeof</font>(<font style="FONT-SIZE: 9pt" color="#0000ff">string</font>));</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>dt.Columns.Add(<font style="FONT-SIZE: 9pt" color="#800000">"ContactTitle"</font>, <font style="FONT-SIZE: 9pt" color="#0000ff">typeof</font>(<font style="FONT-SIZE: 9pt" color="#0000ff">string</font>));</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>dt.Columns.Add(<font style="FONT-SIZE: 9pt" color="#800000">"Address"</font>, <font style="FONT-SIZE: 9pt" color="#0000ff">typeof</font>(<font style="FONT-SIZE: 9pt" color="#0000ff">string</font>));</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>dt.Columns.Add(<font style="FONT-SIZE: 9pt" color="#800000">"City"</font>, <font style="FONT-SIZE: 9pt" color="#0000ff">typeof</font>(<font style="FONT-SIZE: 9pt" color="#0000ff">string</font>));</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>dt.Columns.Add(<font style="FONT-SIZE: 9pt" color="#800000">"Region"</font>, <font style="FONT-SIZE: 9pt" color="#0000ff">typeof</font>(<font style="FONT-SIZE: 9pt" color="#0000ff">string</font>));</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>dt.Columns.Add(<font style="FONT-SIZE: 9pt" color="#800000">"PostalCode"</font>, <font style="FONT-SIZE: 9pt" color="#0000ff">typeof</font>(<font style="FONT-SIZE: 9pt" color="#0000ff">string</font>));</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>dt.Columns.Add(<font style="FONT-SIZE: 9pt" color="#800000">"Country"</font>, <font style="FONT-SIZE: 9pt" color="#0000ff">typeof</font>(<font style="FONT-SIZE: 9pt" color="#0000ff">string</font>));</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>dt.Columns.Add(<font style="FONT-SIZE: 9pt" color="#800000">"Phone"</font>, <font style="FONT-SIZE: 9pt" color="#0000ff">typeof</font>(<font style="FONT-SIZE: 9pt" color="#0000ff">string</font>));</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>dt.Columns.Add(<font style="FONT-SIZE: 9pt" color="#800000">"Fax"</font>, <font style="FONT-SIZE: 9pt" color="#0000ff">typeof</font>(<font style="FONT-SIZE: 9pt" color="#0000ff">string</font>));</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"></font></font></font></font> </div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" color="#008000">   // Add a few records to the data table.</font></div>
<font style="FONT-SIZE: 9pt">   </font></font></font><font style="FONT-SIZE: 9pt">for</font></font><font style="FONT-SIZE: 9pt"> (<font style="FONT-SIZE: 9pt" color="#0000ff">int</font> i = 1; i &lt;= 10; i++)</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font>{</font></font></div>
<div><font face="Courier New"><font color="#008080"><font face="Courier New"><font color="#0000ff"><div><font style="FONT-SIZE: 9pt" color="#008000">      // create a new row</font></div>
<font style="FONT-SIZE: 9pt">   </font><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font><font style="FONT-SIZE: 9pt">DataRow</font></font><font style="FONT-SIZE: 9pt"> dr = dt.NewRow();</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"></font></font></font></font></font></font></font> </div>
<div><font face="Courier New"><font face="Courier New"><font color="#008080"><font face="Courier New"><font color="#0000ff"><div><font color="#008000"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New">   </font></font>// populate the fields</font></font></div>
<font style="FONT-SIZE: 9pt">   </font><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font><font style="FONT-SIZE: 9pt">dr[0] = </font><font style="FONT-SIZE: 9pt" color="#800000">"C"</font><font style="FONT-SIZE: 9pt"> + i.ToString();</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font></font></font>dr[1] = <font style="FONT-SIZE: 9pt" color="#800000">"Company Name "</font> + i.ToString();<font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font></font></font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font></font></font>dr[2] = <font style="FONT-SIZE: 9pt" color="#800000">"Contact Name "</font> + i.ToString();<font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font></font></font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font></font></font>dr[3] = <font style="FONT-SIZE: 9pt" color="#800000">"Contact Title "</font> + i.ToString();</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font></font></font>dr[4] = <font style="FONT-SIZE: 9pt" color="#800000">"Address "</font> + i.ToString();</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font></font></font>dr[5] = <font style="FONT-SIZE: 9pt" color="#800000">"City "</font> + i.ToString();</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font></font></font>dr[6] = <font style="FONT-SIZE: 9pt" color="#800000">"Region "</font> + i.ToString();</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font></font></font>dr[7] = <font style="FONT-SIZE: 9pt" color="#800000">"POSTL "</font> + i.ToString();</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font></font></font>dr[8] = <font style="FONT-SIZE: 9pt" color="#800000">"Country "</font> + i.ToString();</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font></font></font>dr[9] = <font style="FONT-SIZE: 9pt" color="#800000">"Phone "</font> + i.ToString();</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font></font></font>dr[10] = <font style="FONT-SIZE: 9pt" color="#800000">"FAX "</font> + i.ToString();</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"></font></font></font></font></font></font></font> </div>
<div><font face="Courier New"><font face="Courier New"><font color="#008080"><font face="Courier New"><font color="#0000ff"><div><font color="#008000"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   <font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font>// add the row to the table</font></font></div>
<font style="FONT-SIZE: 9pt">   </font><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font></font><font style="FONT-SIZE: 9pt">dt.Rows.Add(dr);</font></font></div>
<div><font face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font></font><font style="FONT-SIZE: 9pt">}</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New" color="#0000ff"></font> </div>
<font style="FONT-SIZE: 9pt" face="Courier New" color="#0000ff"><div><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   string</font> strConnection = <font style="FONT-SIZE: 9pt" color="#800000">"Data Source=.\\sqlexpress;"</font> + </font></div>
<div><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#800000">      "Initial Catalog=Northwind;Integrated Security=True"</font>;</font></div>
<div> </div>
</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff"><div><font style="FONT-SIZE: 9pt" color="#008000"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font>// Now, connect to the database and pass the dataset</font></font></div>
<div><font style="FONT-SIZE: 9pt" color="#0000ff"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#008080"><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt" color="#0000ff">   </font></font></font></font></font><font style="FONT-SIZE: 9pt">using</font></font><font style="FONT-SIZE: 9pt"> (</font><font style="FONT-SIZE: 9pt" color="#008080">SqlConnection</font><font style="FONT-SIZE: 9pt"> cxn = </font><font style="FONT-SIZE: 9pt" color="#0000ff">new</font><font style="FONT-SIZE: 9pt"></font><font style="FONT-SIZE: 9pt" color="#008080">SqlConnection</font><font style="FONT-SIZE: 9pt">(strConnection</font><font style="FONT-SIZE: 9pt"></font><font style="FONT-SIZE: 9pt">))</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt">   {</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">      SqlCommand</font> cmd = <font style="FONT-SIZE: 9pt" color="#0000ff">new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlCommand</font>(<font style="FONT-SIZE: 9pt" color="#800000">"uspProcessCustomers"</font>, cxn);</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt">      cmd.CommandTimeout = 1800;</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt">      cmd.CommandType = <font style="FONT-SIZE: 9pt" color="#008080">CommandType</font>.StoredProcedure;</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt"></font><font style="FONT-SIZE: 9pt"></font> </div>
<div><font style="FONT-SIZE: 9pt" color="#008000">      // SqlParameter to hold the dataset</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">       SqlParameter</font> param1 = <font style="FONT-SIZE: 9pt" color="#0000ff">new</font><font style="FONT-SIZE: 9pt" color="#008080">SqlParameter</font>(<font style="FONT-SIZE: 9pt" color="#800000">"@customerData"</font>, <font style="FONT-SIZE: 9pt" color="#008080">SqlDbType</font>.NVarChar);</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt" color="#008000"></font> </div>
<div><font style="FONT-SIZE: 9pt" color="#008000">      // Create a temporary MemoryStream to hold the output</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt" color="#008000">      // of the WriteXml method of the DataSet</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">      using</font> (<font style="FONT-SIZE: 9pt" color="#008080">MemoryStream</font> memoryStream = <font style="FONT-SIZE: 9pt" color="#0000ff">new</font><font style="FONT-SIZE: 9pt" color="#008080">MemoryStream</font>())</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt">      {</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt">         ds.WriteXml(memoryStream);</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#008080">         UTF8Encoding</font> encoding = <font style="FONT-SIZE: 9pt" color="#0000ff">new</font><font style="FONT-SIZE: 9pt" color="#008080">UTF8Encoding</font>();</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt">         param1.Value = encoding.GetString(memoryStream.ToArray());</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt">      }</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt"></font><font style="FONT-SIZE: 9pt"></font> </div>
<div><font style="FONT-SIZE: 9pt" color="#008000">      // Add the SqlParameter to the Parameters collection</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt">      cmd.Parameters.Add(param1);</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt" color="#008000"></font> </div>
<div><font style="FONT-SIZE: 9pt" color="#008000">      // Open the connection to the database</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt">      cmd.Connection.Open();</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt" color="#008000"></font> </div>
<div><font style="FONT-SIZE: 9pt" color="#008000">      // Execute the query</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt">      cmd.ExecuteNonQuery();</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt" color="#008000"></font> </div>
<div><font style="FONT-SIZE: 9pt" color="#008000">      // Finally, close the connection</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt">      cmd.Connection.Close();</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt">   }</font><font style="FONT-SIZE: 9pt"></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff"></font></font></font> </div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   this</font>.button1.Enabled = <font style="FONT-SIZE: 9pt" color="#0000ff">true</font>;</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font style="FONT-SIZE: 9pt"><font style="FONT-SIZE: 9pt" color="#0000ff">   this</font>.Cursor = <font style="FONT-SIZE: 9pt" color="#008080">Cursors</font>.Arrow;</font></font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New">}</font></div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font face="Verdana" size="2"></font></font> </div>
<div><font style="FONT-SIZE: 9pt" face="Courier New"><font face="Verdana" color="#000000" size="2">That's all it takes. I welcome your comments and suggestions on this post.</font></font></div>
<div> </div>
<div><font face="Verdana" color="#000000" size="2">J.</font> </div>
</font></font></div>
</div>
<div id="CSBloggerSig"></div>
]]></content:encoded>
    </item>
    <item>
      <title>SQL Server 2005 and SQL Server Express 2005 on The Same Machine</title>
      <link>https://docs.microsoft.com/archive/blogs/jpapiez/sql-server-2005-and-sql-server-express-2005-on-the-same-machine</link>
      <pubDate>Tue, 07 Jun 2005 17:20:00 GMT</pubDate>
      <dc:creator><![CDATA[jpapiez]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jpapiez/2005/06/07/sql-server-2005-and-sql-server-express-2005-on-the-same-machine/</guid>
      <description><![CDATA[Installing both SQL Server 2005 (SQL) and SQL Server Express 2005 (Express) on the same machine can...]]></description>
      <content:encoded><![CDATA[Installing both SQL Server 2005 (SQL) and SQL Server Express 2005 (Express) on the same machine can present a problem that might not be easily identifiable.
<p />
You can install both of these products on the same machine, though you must take care when choosing which options get installed. If you install the Management Tools for Express you will be unable to install the Management Tool for SQL.
<p />
So, if you have Express installed then want to install SQL, make sure you do not have Management Tools for Express already installed, otherwise none of the tools will be installed for SQL, and you'll be left with the likes of sqlcmd.exe for managing SQL untill the Express tools are uninstalled.
<p />
j.]]></content:encoded>
    </item>
  </channel>
</rss>