<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ASP.NET - Code Snippets and Tutorials</title>
	<atom:link href="http://www.aspneter.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aspneter.com</link>
	<description>Free ASP.NET Code Snippets, Source Code, Articles, Examples, Tutorials and Programming Help</description>
	<lastBuildDate>Fri, 12 Apr 2013 13:26:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>A Query for MERGE with CASE in UPDATE (T-SQL)</title>
		<link>http://www.aspneter.com/2013/04/t-sql-a-query-for-merge-statement-with-case-in-update/</link>
		<comments>http://www.aspneter.com/2013/04/t-sql-a-query-for-merge-statement-with-case-in-update/#comments</comments>
		<pubDate>Fri, 12 Apr 2013 13:23:09 +0000</pubDate>
		<dc:creator>Kulrom</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Database Programming]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SqlDataSource]]></category>

		<guid isPermaLink="false">http://www.aspneter.com/?p=702</guid>
		<description><![CDATA[i&#8217;ve been asked by lost of people about how to use CASE when you write a MERGE statement which is synchronizing (updating) two tables. So here we go (a very basic example which sync the quantity field in the Products table): -- DELETES THE DUPLICATES IF ANY! (THIS IS A MUST WHEN YOU USE MERGE) [...]]]></description>
				<content:encoded><![CDATA[<p>i&#8217;ve been asked by lost of people about how to use CASE when you write a MERGE statement which is synchronizing (updating) two tables.</p>
<p>So here we go (a very basic example which sync the quantity field in the Products table):</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">-- DELETES THE DUPLICATES IF ANY! (THIS IS A MUST WHEN YOU USE MERGE)</span>
<span style="color: #993333; font-weight: bold;">DELETE</span> everything <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #66cc66;">&#40;</span>
<span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #66cc66;">*,</span> rownum <span style="color: #66cc66;">=</span> ROW_NUMBER<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> OVER <span style="color: #66cc66;">&#40;</span>PARTITION <span style="color: #993333; font-weight: bold;">BY</span> ItemID <span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> ItemID<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">FROM</span> QuantityUpdates
<span style="color: #66cc66;">&#41;</span> everything
<span style="color: #993333; font-weight: bold;">WHERE</span> rownum <span style="color: #66cc66;">&gt;</span> <span style="color: #cc66cc;">1</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">-- please notice that you can also use group by to prevent duplicate rows !!!</span>
&nbsp;
MERGE <span style="color: #993333; font-weight: bold;">INTO</span>
Products <span style="color: #993333; font-weight: bold;">AS</span> Prod
<span style="color: #993333; font-weight: bold;">USING</span>
QuantityUpdates <span style="color: #993333; font-weight: bold;">AS</span> Qty
<span style="color: #993333; font-weight: bold;">ON</span>
Prod<span style="color: #66cc66;">.</span>ItemID <span style="color: #66cc66;">=</span> Qty<span style="color: #66cc66;">.</span>ItemID
WHEN
MATCHED
THEN <span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #993333; font-weight: bold;">SET</span>
QtyInStock <span style="color: #66cc66;">=</span> Qty<span style="color: #66cc66;">.</span>QtyInStock<span style="color: #66cc66;">,</span>
UpdatedDateStamp <span style="color: #66cc66;">=</span> GETDATE<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span>
Discontinued <span style="color: #66cc66;">=</span> CASE WHEN Qty<span style="color: #66cc66;">.</span>QtyInStock <span style="color: #66cc66;">&gt;</span> <span style="color: #cc66cc;">0</span> THEN <span style="color: #cc66cc;">0</span> ELSE <span style="color: #cc66cc;">1</span> END;</pre></div></div>

<p>Voila! Hope this helps someone</p>

]]></content:encoded>
			<wfw:commentRss>http://www.aspneter.com/2013/04/t-sql-a-query-for-merge-statement-with-case-in-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 8 First Impressions</title>
		<link>http://www.aspneter.com/2013/02/windows-8-first-impressions/</link>
		<comments>http://www.aspneter.com/2013/02/windows-8-first-impressions/#comments</comments>
		<pubDate>Fri, 22 Feb 2013 16:58:06 +0000</pubDate>
		<dc:creator>Kulrom</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Win32]]></category>
		<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[2013 OS]]></category>
		<category><![CDATA[NEW Windows]]></category>
		<category><![CDATA[Win8 Pro]]></category>
		<category><![CDATA[windows 8]]></category>

		<guid isPermaLink="false">http://www.aspneter.com/?p=691</guid>
		<description><![CDATA[Sometime about a month ago, I asked my dear friend what he thinks about the new Microsoft Operating System &#8211; Windows 8? Here&#8217;s what he told me: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Hello Yugo, I think their aim is to compete with the likes of Apple and also to make Windows feel [...]]]></description>
				<content:encoded><![CDATA[<div id="windows_8" class="wp-caption alignleft" style="width: 374px"><a href="http://www.aspneter.com/aspneter/wp-content/uploads/2013/02/logo-windows-8.jpg"><img class="size-full wp-image-636" alt="Windows 8 - First Impressions" src="http://www.aspneter.com/aspneter/wp-content/uploads/2013/02/logo-windows-8.jpg" width="364" height="199" /></a><p class="wp-caption-text">Windows 8 &#8211; First Impressions</p></div>
<p>Sometime about a month ago, I asked my dear friend what he thinks about the new Microsoft Operating System &#8211; Windows 8?<br />
Here&#8217;s what he told me:<span id="more-691"></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<blockquote><p>Hello Yugo,</p>
<p>I think their aim is to compete with the likes of Apple and also to make Windows feel more &#8216;modern&#8217;.  And of course they&#8217;ll look forward to keeping 20% of all app sales, which will possibly be a big chunk of cash once Windows 8 is fully established.</p>
<p>I don&#8217;t think people will want to change to Windows 8 anywhere as quickly as they changed to Win 7.  In fact, a couple of people who have bought laptops with Win 8 installed have asked me to help them replace the OS with Win 7.</p>
<p>The missing Start button is a mistake by Microsoft.  In my opinion, someone decided that they&#8217;d force people to go to the tiles page and the best way of doing that was to give them little other choice.<br />
One MS spokesman said something like &#8220;We&#8217;ve surveyed Win 7 usage and not many people used the Start button&#8221;.    The multiple complaints that it&#8217;s missing certainly highlight the lie that this obviously is! Also, the popularity of the replacement 3rd party Start buttons shows that people do like it.</p>
<p>(Whoever is in charge of MS PR these days is doing a poor job.  For example, insisting on pretending that they never meant Metro to be the name for the new kind of apps; that it was just a temporary code word.)</p>
<p>On a desktop with two monitors, Win 8 is very good.  You effectively have Win 8 on one screen and win 7 on the other (although of course you can change the configuration very quickly). But on a single screen laptop, I don&#8217;t like it anywhere near as much.</p>
<p>Because of the way the industry works, MS will force hardware manufacturers to ship with Win 8 installed.  The majority of users probably wouldn&#8217;t reformat a new drive and install Win 7, so Win 8 usage will creep up over time.  Whether it will really take off before Windows 9 comes along is the question.</p>
<p>The big factor will be how many people will want to use Windows Store Apps.  And also whether MS can speed up the sales of Windows Phones.  If they can increase both those numbers then Win 8 will do well.</p>
<p>It&#8217;ll be interesting to see.</p>
<p>Regards</p></blockquote>

]]></content:encoded>
			<wfw:commentRss>http://www.aspneter.com/2013/02/windows-8-first-impressions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why Your New Windows 8 Freezes up (Possible FIX)?</title>
		<link>http://www.aspneter.com/2013/02/why-your-new-windows-8-freezes-up-possible-fix/</link>
		<comments>http://www.aspneter.com/2013/02/why-your-new-windows-8-freezes-up-possible-fix/#comments</comments>
		<pubDate>Sun, 10 Feb 2013 21:59:12 +0000</pubDate>
		<dc:creator>Kulrom</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Third Party]]></category>
		<category><![CDATA[Win32]]></category>
		<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[Windows Application]]></category>
		<category><![CDATA[win 8 freezes up]]></category>
		<category><![CDATA[win8]]></category>
		<category><![CDATA[windows 8]]></category>
		<category><![CDATA[windows 8 freezes]]></category>

		<guid isPermaLink="false">http://www.aspneter.com/?p=684</guid>
		<description><![CDATA[Wonder why your recently installed Operating System (Windows 8) freezes up? Do you have a Google Chrome installed on your computer? If you do please go ahead and uninstall it. Well at least, it worked for me. Now my PC works flawlessly! Hope this helps anyone else having the same problem]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.aspneter.com/aspneter/wp-content/uploads/2013/02/chrome.and.windows8.jpg"><img class="alignleft size-full wp-image-141" alt="Google Chrome vs. Windows 8" src="http://www.aspneter.com/aspneter/wp-content/uploads/2013/02/chrome.and.windows8.jpg" width="400" height="220" /></a>Wonder why your recently installed Operating System (Windows 8) freezes up?</p>
<p>Do you have a Google Chrome installed on your computer?</p>
<p>If you do please go ahead and uninstall it. Well at least, it worked for me.</p>
<p>Now my PC works flawlessly!</p>
<p>Hope this helps anyone else having the same problem <img src='http://www.aspneter.com/aspneter/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

]]></content:encoded>
			<wfw:commentRss>http://www.aspneter.com/2013/02/why-your-new-windows-8-freezes-up-possible-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merry Christmas and Happy New Year 2013</title>
		<link>http://www.aspneter.com/2012/12/merry-christmas-and-happy-new-year-2013/</link>
		<comments>http://www.aspneter.com/2012/12/merry-christmas-and-happy-new-year-2013/#comments</comments>
		<pubDate>Tue, 25 Dec 2012 00:14:41 +0000</pubDate>
		<dc:creator>Kulrom</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.aspneter.com/?p=676</guid>
		<description><![CDATA[May this lovely Christmas season bring you delights in all possible forms. May you receive love in abundance and joy that lasts throughout this season. Merry Christmas and Happy New Year to you and your loved ones!]]></description>
				<content:encoded><![CDATA[<p>May this lovely Christmas season bring you delights in all possible forms.<br />
May you receive love in abundance and joy that lasts throughout this season.<br />
Merry Christmas and Happy New Year to you and your loved ones!</p>
<div class="wp-caption alignleft" style="width: 560px"><img alt="marry christmas and happy new year 2013" src="http://vbcity.com/cfs-filesystemfile.ashx/__key/CommunityServer.Components.ImageFileViewer/CommunityServer.Blogs.Components.WeblogFiles.kulrom/7701.Christmas_2D00_Card.jpg_2D00_550x0.jpg" width="550" height="550" /><p class="wp-caption-text">Merry Christmas and Happy New Year 2013</p></div>

]]></content:encoded>
			<wfw:commentRss>http://www.aspneter.com/2012/12/merry-christmas-and-happy-new-year-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Godaddy Renew coupons 2012 (October)</title>
		<link>http://www.aspneter.com/2012/10/godaddy-renew-coupons-2012-october/</link>
		<comments>http://www.aspneter.com/2012/10/godaddy-renew-coupons-2012-october/#comments</comments>
		<pubDate>Sun, 07 Oct 2012 11:08:12 +0000</pubDate>
		<dc:creator>Kulrom</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Casualties]]></category>
		<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Economy]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.aspneter.com/?p=671</guid>
		<description><![CDATA[I used them both for renewing my domains and they both worked fine: FB30TLD GD50BBPD5]]></description>
				<content:encoded><![CDATA[<p>I used them both for renewing my domains and they both worked fine:</p>
<p>FB30TLD<br />
GD50BBPD5</p>

]]></content:encoded>
			<wfw:commentRss>http://www.aspneter.com/2012/10/godaddy-renew-coupons-2012-october/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Suppress Uppercase Conversion in Visual Studio 2012</title>
		<link>http://www.aspneter.com/2012/09/suppress-uppercase-conversion-in-visual-studio-2012-menus/</link>
		<comments>http://www.aspneter.com/2012/09/suppress-uppercase-conversion-in-visual-studio-2012-menus/#comments</comments>
		<pubDate>Mon, 24 Sep 2012 14:14:27 +0000</pubDate>
		<dc:creator>Kulrom</dc:creator>
				<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.aspneter.com/?p=664</guid>
		<description><![CDATA[As you&#8217;ve already noticed, by default all the Main Menu items in your Visual Studio 2012 are uppercase. To fix this (to disable/suppress uppercase conversion) you have to create a new DWORD in the Registry Editor. 1. run RegEdit.exe (type RegEdit in the Run) 2. Expand the HKEY_CURRENT_USER as shown on the image below 3. [...]]]></description>
				<content:encoded><![CDATA[<p>As you&#8217;ve already noticed, by default all the <strong>Main Menu items</strong> in your Visual Studio 2012 are <strong>uppercase</strong>.</p>
<p>To fix this (to disable/suppress uppercase conversion) you have to create a new DWORD in the Registry Editor.</p>
<p><strong>1.</strong> run RegEdit.exe (type RegEdit in the <strong>Run</strong>)</p>
<p><strong>2.</strong> Expand the HKEY_CURRENT_USER as shown on the image below</p>
<div class="wp-caption aligncenter" style="width: 252px"><img title="Registry Editor" src="http://aspneter.com/wp-content/uploads/2012/09/surpressuppercase.png" alt="Registry Editor" width="242" height="231" /><p class="wp-caption-text">Registry Editor</p></div>
<p><strong>3.</strong> Right-click General node and then select New -&gt; DWORD (32-bit) Value as shown on the image below.</p>
<div class="wp-caption aligncenter" style="width: 396px"><img title="Context Menu" src="http://aspneter.com/wp-content/uploads/2012/09/surpressuppercasecontext.png" alt="Context Menu" width="386" height="205" /><p class="wp-caption-text">Context Menu</p></div>
<p><strong>4.</strong> Name it &#8220;<strong>SuppressUppercaseConversion</strong>&#8221; and click OK!</p>
<p><strong>5.</strong> Double click the newly created value and set the Value data to 1 (as shown on the image below)</p>
<div class="wp-caption aligncenter" style="width: 355px"><img title="Value data" src="http://aspneter.com/wp-content/uploads/2012/09/surpressuppercaseedit.png" alt="Value data" width="345" height="205" /><p class="wp-caption-text">Value data</p></div>
<p>Voila. Now re-open your Visual Studio 2012 and your Menu items will appear like in the previous version of your favorite <strong>IDE</strong></p>
<div class="wp-caption aligncenter" style="width: 738px"><img title="VS 2012 Main Menu uppercase items" src="http://aspneter.com/wp-content/uploads/2012/09/surpressuppercasemenu.png" alt="Fix the uppercase menu items in VS 2012" width="728" height="106" /><p class="wp-caption-text">VS 2012 Main Menu uppercase items</p></div>
<p>Hope this helps to someone! <strong>Cheers</strong></p>

]]></content:encoded>
			<wfw:commentRss>http://www.aspneter.com/2012/09/suppress-uppercase-conversion-in-visual-studio-2012-menus/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Visual Studio &#8211; Shortcuts for code regions</title>
		<link>http://www.aspneter.com/2012/07/visual-studio-shortcuts-for-code-regions/</link>
		<comments>http://www.aspneter.com/2012/07/visual-studio-shortcuts-for-code-regions/#comments</comments>
		<pubDate>Sat, 07 Jul 2012 13:44:57 +0000</pubDate>
		<dc:creator>Kulrom</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Bedugging]]></category>
		<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.aspneter.com/?p=660</guid>
		<description><![CDATA[CTRL + M + O will collapse all. CTRL + M + L will expand all. CTRL + M + P will expand all and disable outlining. CTRL + M + M will collapse/expand the current section.]]></description>
				<content:encoded><![CDATA[<p>CTRL + M + O will collapse all.</p>
<p>CTRL + M + L will expand all.</p>
<p>CTRL + M + P will expand all and disable outlining.</p>
<p>CTRL + M + M will collapse/expand the current section.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.aspneter.com/2012/07/visual-studio-shortcuts-for-code-regions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A generic error occurred in GDI+ (Possible Solution)</title>
		<link>http://www.aspneter.com/2012/05/a-generic-error-occurred-in-gdi-possible-solution/</link>
		<comments>http://www.aspneter.com/2012/05/a-generic-error-occurred-in-gdi-possible-solution/#comments</comments>
		<pubDate>Mon, 14 May 2012 16:13:14 +0000</pubDate>
		<dc:creator>Kulrom</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Bedugging]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.aspneter.com/?p=658</guid>
		<description><![CDATA[I guess you&#8217;ve read about permissions thing which is that your application doesn&#8217;t have a write permission on some directory. But sometimes it can be simply a missing directory. Yeah it did happen to me today. I just found out that VS compiler excluded an empty folder from the pre-compiled version. As soon as i [...]]]></description>
				<content:encoded><![CDATA[<p>I guess you&#8217;ve read about <strong>permissions</strong> thing which is that your application doesn&#8217;t have a <strong>write permission on some directory</strong>. But sometimes it can be simply a <strong>missing directory</strong>. Yeah it did happen to me today. I just found out that VS compiler <strong>excluded an empty folder</strong> from the <strong>pre-compiled</strong> version. As soon as i copied the precompiled version i started getting &#8220;<strong>A generic error occurred in GDI+</strong>&#8221; error. So next time just double check if <strong>missing folder</strong> is your problem. Find the code that deals with the GDI+ and be sure that your paths match existing folder(s).</p>
<p>Hope this helps to someone</p>

]]></content:encoded>
			<wfw:commentRss>http://www.aspneter.com/2012/05/a-generic-error-occurred-in-gdi-possible-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get rid of the XML Parsing Error</title>
		<link>http://www.aspneter.com/2012/02/how-to-get-rid-of-the-xml-parsing-error/</link>
		<comments>http://www.aspneter.com/2012/02/how-to-get-rid-of-the-xml-parsing-error/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 11:29:52 +0000</pubDate>
		<dc:creator>Kulrom</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[System.Net]]></category>

		<guid isPermaLink="false">http://www.aspneter.com/?p=654</guid>
		<description><![CDATA[I just want to share a possible fix for this odd error. In my case it was a silly if statement in which i decide if MyPanel control should be rendered or not. However i missed the name of the panel control so i ended up with this XML Parsing Error. After i while i [...]]]></description>
				<content:encoded><![CDATA[<p><div id="attachment_655" class="wp-caption alignleft" style="width: 529px"><a href="http://www.aspneter.com/aspneter/wp-content/uploads/2012/02/xml-parsing-error.png"><img src="http://www.aspneter.com/aspneter/wp-content/uploads/2012/02/xml-parsing-error.png" alt="XML Parsing Error" title="xml parsing error" width="519" height="200" class="size-full wp-image-655" /></a><p class="wp-caption-text">XML Parsing Error</p></div> I just want to share a possible fix for this odd error. In my case it was a silly if statement in which i decide if MyPanel control should be rendered or not. However i missed the name of the panel control so i ended up with this XML Parsing Error. After i while i figured out that i have an error in the code-behind that looked like the following:</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">If</span> condition = <span style="color: #000080;">True</span> <span style="color: #000080;">Then</span>
   MyPanel.Visible = <span style="color: #000080;">True</span>
<span style="color: #000080;">Else</span>
   Visible = <span style="color: #000080;">False</span>
<span style="color: #000080;">End</span> Try</pre></div></div>

<p>Once i changed to the below it worked like a charm.</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">If</span> condition = <span style="color: #000080;">True</span> <span style="color: #000080;">Then</span>
   MyPanel.Visible = <span style="color: #000080;">True</span>
<span style="color: #000080;">Else</span>
   MyPanel.Visible = <span style="color: #000080;">False</span>
<span style="color: #000080;">End</span> Try</pre></div></div>

<p>Hope this helps to someone at least</p>

]]></content:encoded>
			<wfw:commentRss>http://www.aspneter.com/2012/02/how-to-get-rid-of-the-xml-parsing-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebsiteSpark Unsubscribe &#8211; is it possible?</title>
		<link>http://www.aspneter.com/2011/11/websitespark-unsubscribe-is-it-possible/</link>
		<comments>http://www.aspneter.com/2011/11/websitespark-unsubscribe-is-it-possible/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 09:48:24 +0000</pubDate>
		<dc:creator>Kulrom</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.aspneter.com/?p=648</guid>
		<description><![CDATA[I would say it is not. Why? Well, because they send you a broken unsubscribe links. Of course i did that long time ago in the account options (currently cancelled) but it kept sending me various emails. Most of them if not all, do not contain an unsubscribe link. And now they finally added the [...]]]></description>
				<content:encoded><![CDATA[<p>I would say it is not. Why? Well, because they send you a broken unsubscribe links.<br />
Of course i did that long time ago in the account options (currently cancelled) but it kept sending me various emails.<br />
Most of them if not all, do not contain an unsubscribe link. And now they finally added the link at the footer but it does not work.<br />
If you click it does nothing as it starts with &#8220;file:///C%7C/Users/Stephen/Desktop/Projects&#8221; etc.<br />
This is the whole link:<br />
<span id="more-648"></span></p>
<p><code>file:///C%7C/Users/Stephen/Desktop/Projects/STX00063%20-%20WebsiteSpark-WW/2011-09/US/http://pages.email.microsoftemail.com/page.aspx?QS=11dfbe111fab00ea111afe11db11111e1836ec1111111ed&amp;emailid=111111&amp;memberid=1111111111&amp;jobid=1111111&amp;listid=1111111&amp;listname=Subscription_111111111_111111&amp;subscriberkey=myemail@domain.com&amp;emailaddr=myemail@domain.com&amp;subscriberid=111111111</code></p>
<p>Then i took only the portion which starts with <strong>http://</strong> and pasted in the address bar. </p>
<p>This is what i ended with<br />
<div id="attachment_649" class="wp-caption center" style="width: 610px"><a href="http://www.aspneter.com/aspneter/wp-content/uploads/2011/11/Unsubscribe.gif"><img src="http://www.aspneter.com/aspneter/wp-content/uploads/2011/11/Unsubscribe.gif" alt="WebsiteSpark Unsubscribe " title="WebsiteSpark Unsubscribe " width="600" height="271" class="size-full wp-image-649" /></a><p class="wp-caption-text">WebsiteSpark Unsubscribe </p></div></p>
<p>Well guys, as you see you have to read all that crap coming from Microsoft. Don&#8217;t get me wrong, i am a MS man myself. I do .NET since its beginning but, this should not happen to such gigantic corporation like is Microsoft. Shame</p>

]]></content:encoded>
			<wfw:commentRss>http://www.aspneter.com/2011/11/websitespark-unsubscribe-is-it-possible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
