<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Chronicle&#039;s of a Geek...</title>
	<atom:link href="http://amitchandnz.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://amitchandnz.wordpress.com</link>
	<description>My code never has bugs!  It just develops random features which are sometimes hard to identify!</description>
	<lastBuildDate>Wed, 18 Jan 2012 22:28:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='amitchandnz.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/f8ae92887d86a390d116b3dc173ad976?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Chronicle&#039;s of a Geek...</title>
		<link>http://amitchandnz.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://amitchandnz.wordpress.com/osd.xml" title="Chronicle&#039;s of a Geek..." />
	<atom:link rel='hub' href='http://amitchandnz.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Split String Into Array Using Multiple characters</title>
		<link>http://amitchandnz.wordpress.com/2012/01/18/split-string-into-array-using-multiple-characters/</link>
		<comments>http://amitchandnz.wordpress.com/2012/01/18/split-string-into-array-using-multiple-characters/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 22:13:14 +0000</pubDate>
		<dc:creator>nzgeek</dc:creator>
				<category><![CDATA[ASP.Net]]></category>

		<guid isPermaLink="false">http://amitchandnz.wordpress.com/?p=1651</guid>
		<description><![CDATA[To split a string by multiple characters into an array, you can try the following:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1651&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To split a string by multiple characters into an array, you can try the following:<br />
<pre class="brush: csharp;">
using System;
using System.Text.RegularExpressions;

class myClass
{
    static void Main()
    {
	string myValue = &quot;line1\r\nline2\r\nline3&quot;;

	string[] myLines = Regex.Split(myValue , &quot;\r\n&quot;);

	foreach (string myLine in myLines )
	{
	    Console.WriteLine(myLine);
	}
    }
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitchandnz.wordpress.com/1651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitchandnz.wordpress.com/1651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitchandnz.wordpress.com/1651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitchandnz.wordpress.com/1651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitchandnz.wordpress.com/1651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitchandnz.wordpress.com/1651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitchandnz.wordpress.com/1651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitchandnz.wordpress.com/1651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitchandnz.wordpress.com/1651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitchandnz.wordpress.com/1651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitchandnz.wordpress.com/1651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitchandnz.wordpress.com/1651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitchandnz.wordpress.com/1651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitchandnz.wordpress.com/1651/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1651&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amitchandnz.wordpress.com/2012/01/18/split-string-into-array-using-multiple-characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d83f4c0735c9aba0aeed71313da7a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>Add Border Thickness from Code Behind</title>
		<link>http://amitchandnz.wordpress.com/2012/01/15/add-border-thickness-from-code-behind/</link>
		<comments>http://amitchandnz.wordpress.com/2012/01/15/add-border-thickness-from-code-behind/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 22:59:37 +0000</pubDate>
		<dc:creator>nzgeek</dc:creator>
				<category><![CDATA[Windows Phone 7 & Mango]]></category>

		<guid isPermaLink="false">http://amitchandnz.wordpress.com/?p=1649</guid>
		<description><![CDATA[To add border thickness to an object from code behind, you can try the following:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1649&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To add border thickness to an object from code behind, you can try the following:<br />
<pre class="brush: csharp;">
Border1.BorderThickness = new System.Windows.Thickness(2, 2, 2, 2);
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitchandnz.wordpress.com/1649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitchandnz.wordpress.com/1649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitchandnz.wordpress.com/1649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitchandnz.wordpress.com/1649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitchandnz.wordpress.com/1649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitchandnz.wordpress.com/1649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitchandnz.wordpress.com/1649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitchandnz.wordpress.com/1649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitchandnz.wordpress.com/1649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitchandnz.wordpress.com/1649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitchandnz.wordpress.com/1649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitchandnz.wordpress.com/1649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitchandnz.wordpress.com/1649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitchandnz.wordpress.com/1649/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1649&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amitchandnz.wordpress.com/2012/01/15/add-border-thickness-from-code-behind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d83f4c0735c9aba0aeed71313da7a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>Launching a Web Browser from Code</title>
		<link>http://amitchandnz.wordpress.com/2012/01/12/launching-a-web-browser-from-code/</link>
		<comments>http://amitchandnz.wordpress.com/2012/01/12/launching-a-web-browser-from-code/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 02:47:27 +0000</pubDate>
		<dc:creator>nzgeek</dc:creator>
				<category><![CDATA[Windows Phone 7 & Mango]]></category>

		<guid isPermaLink="false">http://amitchandnz.wordpress.com/?p=1646</guid>
		<description><![CDATA[If you want to launch a web browser from code, you can do the following:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1646&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you want to launch a web browser from code, you can do the following:<br />
<pre class="brush: csharp;">
using Microsoft.Phone.Tasks;

WebBrowserTask webbrowser = new WebBrowserTask();
webbrowser.URL = &quot;www.zapi.co.nz&quot;;
webbrowser.Show();
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitchandnz.wordpress.com/1646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitchandnz.wordpress.com/1646/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitchandnz.wordpress.com/1646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitchandnz.wordpress.com/1646/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitchandnz.wordpress.com/1646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitchandnz.wordpress.com/1646/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitchandnz.wordpress.com/1646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitchandnz.wordpress.com/1646/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitchandnz.wordpress.com/1646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitchandnz.wordpress.com/1646/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitchandnz.wordpress.com/1646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitchandnz.wordpress.com/1646/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitchandnz.wordpress.com/1646/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitchandnz.wordpress.com/1646/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1646&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amitchandnz.wordpress.com/2012/01/12/launching-a-web-browser-from-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d83f4c0735c9aba0aeed71313da7a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Windows Phone DataContext from Visual Studio</title>
		<link>http://amitchandnz.wordpress.com/2012/01/10/creating-windows-phone-datacontext-from-visual-studio/</link>
		<comments>http://amitchandnz.wordpress.com/2012/01/10/creating-windows-phone-datacontext-from-visual-studio/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 22:34:07 +0000</pubDate>
		<dc:creator>nzgeek</dc:creator>
				<category><![CDATA[Windows Phone 7 & Mango]]></category>

		<guid isPermaLink="false">http://amitchandnz.wordpress.com/?p=1643</guid>
		<description><![CDATA[If you want a quick way to create DataContext for your Windows Phone applications, you can include this addon for Visual Studio which will save you a lot of time: http://sqlcetoolbox.codeplex.com/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1643&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you want a quick way to create DataContext for your Windows Phone applications, you can include this addon for Visual Studio which will save you a lot of time:<br />
<a href="http://sqlcetoolbox.codeplex.com/" title="SQL CE Toolbox">http://sqlcetoolbox.codeplex.com/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitchandnz.wordpress.com/1643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitchandnz.wordpress.com/1643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitchandnz.wordpress.com/1643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitchandnz.wordpress.com/1643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitchandnz.wordpress.com/1643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitchandnz.wordpress.com/1643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitchandnz.wordpress.com/1643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitchandnz.wordpress.com/1643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitchandnz.wordpress.com/1643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitchandnz.wordpress.com/1643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitchandnz.wordpress.com/1643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitchandnz.wordpress.com/1643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitchandnz.wordpress.com/1643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitchandnz.wordpress.com/1643/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1643&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amitchandnz.wordpress.com/2012/01/10/creating-windows-phone-datacontext-from-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d83f4c0735c9aba0aeed71313da7a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>Scroll to Top of Page With ScrollViewer</title>
		<link>http://amitchandnz.wordpress.com/2012/01/10/scroll-to-top-of-page-with-scrollviewer/</link>
		<comments>http://amitchandnz.wordpress.com/2012/01/10/scroll-to-top-of-page-with-scrollviewer/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 22:29:30 +0000</pubDate>
		<dc:creator>nzgeek</dc:creator>
				<category><![CDATA[Windows Phone 7 & Mango]]></category>

		<guid isPermaLink="false">http://amitchandnz.wordpress.com/?p=1640</guid>
		<description><![CDATA[If you want to scroll to the top of a page that is using a control ScrollViewer, you can do this in code behind as follows:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1640&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you want to scroll to the top of a page that is using a  control <strong>ScrollViewer</strong>, you can do this in code behind as follows:<br />
<pre class="brush: csharp;">
ScrollViewer.ScrollToVerticalOffset(0);
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitchandnz.wordpress.com/1640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitchandnz.wordpress.com/1640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitchandnz.wordpress.com/1640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitchandnz.wordpress.com/1640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitchandnz.wordpress.com/1640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitchandnz.wordpress.com/1640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitchandnz.wordpress.com/1640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitchandnz.wordpress.com/1640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitchandnz.wordpress.com/1640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitchandnz.wordpress.com/1640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitchandnz.wordpress.com/1640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitchandnz.wordpress.com/1640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitchandnz.wordpress.com/1640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitchandnz.wordpress.com/1640/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1640&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amitchandnz.wordpress.com/2012/01/10/scroll-to-top-of-page-with-scrollviewer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d83f4c0735c9aba0aeed71313da7a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>Split String Into Array by Delimiter</title>
		<link>http://amitchandnz.wordpress.com/2011/12/14/split-string-into-array-by-delimiter/</link>
		<comments>http://amitchandnz.wordpress.com/2011/12/14/split-string-into-array-by-delimiter/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 00:33:00 +0000</pubDate>
		<dc:creator>nzgeek</dc:creator>
				<category><![CDATA[ASP.Net]]></category>

		<guid isPermaLink="false">http://amitchandnz.wordpress.com/?p=1637</guid>
		<description><![CDATA[To split a string by a delimiter into an array, you can try the following:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1637&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To split a string by a delimiter into an array, you can try the following:<br />
<pre class="brush: csharp;">
string myContact = &quot;1|2|3|4|5&quot;;
string[] myContactArray = myContact.Split('|');
foreach (string myContactValue in myContactArray)
{
  Console.WriteLine(myContactValue);
}    
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitchandnz.wordpress.com/1637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitchandnz.wordpress.com/1637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitchandnz.wordpress.com/1637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitchandnz.wordpress.com/1637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitchandnz.wordpress.com/1637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitchandnz.wordpress.com/1637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitchandnz.wordpress.com/1637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitchandnz.wordpress.com/1637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitchandnz.wordpress.com/1637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitchandnz.wordpress.com/1637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitchandnz.wordpress.com/1637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitchandnz.wordpress.com/1637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitchandnz.wordpress.com/1637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitchandnz.wordpress.com/1637/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1637&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amitchandnz.wordpress.com/2011/12/14/split-string-into-array-by-delimiter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d83f4c0735c9aba0aeed71313da7a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>Iterate Through List Collection</title>
		<link>http://amitchandnz.wordpress.com/2011/12/14/iterate-through-list-collection/</link>
		<comments>http://amitchandnz.wordpress.com/2011/12/14/iterate-through-list-collection/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 00:29:36 +0000</pubDate>
		<dc:creator>nzgeek</dc:creator>
				<category><![CDATA[ASP.Net]]></category>

		<guid isPermaLink="false">http://amitchandnz.wordpress.com/?p=1635</guid>
		<description><![CDATA[To iterate through a List collection, you can try the following:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1635&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To iterate through a List collection, you can try the following:<br />
<pre class="brush: csharp;">
List&lt;int&gt; myList = new List&lt;int&gt;();
myList .Add(1);
myList .Add(2);
myList .Add(3);

// Loop through List with foreach statement
foreach (int myInt in MyList) 
{
  Console.WriteLine(myInt);
}

// Loop through List with for statement
for (int i = 0; i &lt; MyList.Count; i++) 
{
  Console.WriteLine(MyList[i]);
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitchandnz.wordpress.com/1635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitchandnz.wordpress.com/1635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitchandnz.wordpress.com/1635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitchandnz.wordpress.com/1635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitchandnz.wordpress.com/1635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitchandnz.wordpress.com/1635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitchandnz.wordpress.com/1635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitchandnz.wordpress.com/1635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitchandnz.wordpress.com/1635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitchandnz.wordpress.com/1635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitchandnz.wordpress.com/1635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitchandnz.wordpress.com/1635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitchandnz.wordpress.com/1635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitchandnz.wordpress.com/1635/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1635&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amitchandnz.wordpress.com/2011/12/14/iterate-through-list-collection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d83f4c0735c9aba0aeed71313da7a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>Insert Double Quotes (&#8220;) Into String</title>
		<link>http://amitchandnz.wordpress.com/2011/12/13/insert-double-quotes-into-string/</link>
		<comments>http://amitchandnz.wordpress.com/2011/12/13/insert-double-quotes-into-string/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 00:04:42 +0000</pubDate>
		<dc:creator>nzgeek</dc:creator>
				<category><![CDATA[ASP.Net]]></category>

		<guid isPermaLink="false">http://amitchandnz.wordpress.com/?p=1632</guid>
		<description><![CDATA[To insert double quotes (&#8220;) into a string, you can try the following:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1632&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To insert double quotes (&#8220;) into a string, you can try the following:</p>
<p><pre class="brush: csharp;">
string myString = &quot;\&quot;someString\&quot;&quot;;
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitchandnz.wordpress.com/1632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitchandnz.wordpress.com/1632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitchandnz.wordpress.com/1632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitchandnz.wordpress.com/1632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitchandnz.wordpress.com/1632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitchandnz.wordpress.com/1632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitchandnz.wordpress.com/1632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitchandnz.wordpress.com/1632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitchandnz.wordpress.com/1632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitchandnz.wordpress.com/1632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitchandnz.wordpress.com/1632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitchandnz.wordpress.com/1632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitchandnz.wordpress.com/1632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitchandnz.wordpress.com/1632/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1632&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amitchandnz.wordpress.com/2011/12/13/insert-double-quotes-into-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d83f4c0735c9aba0aeed71313da7a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>List of Database Object Permissions</title>
		<link>http://amitchandnz.wordpress.com/2011/11/22/list-of-database-object-permissions/</link>
		<comments>http://amitchandnz.wordpress.com/2011/11/22/list-of-database-object-permissions/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 01:19:34 +0000</pubDate>
		<dc:creator>nzgeek</dc:creator>
				<category><![CDATA[SQL Server 2005]]></category>

		<guid isPermaLink="false">http://amitchandnz.wordpress.com/?p=1630</guid>
		<description><![CDATA[To find the nth maximum record, you can try the following:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1630&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To find the nth maximum record, you can try the following:<br />
<pre class="brush: sql;">
SELECT o.name,
       user_name(dp.grantee_principal_id) grantee,
       user_name(dp.grantor_principal_id) grantor ,
       dp.permission_name ,
       dp.state_desc,
       o.type_desc
FROM   sys.database_permissions dp 
       INNER JOIN sys.objects   o  ON o.object_id = dp.major_id
                                  AND dp.class     = 1 
                                  AND o.type IN ('U', 'P', 'V', 'Fn') -- U(User Tables), P(Store Procedure), V(View), Fn(Function)
WHERE    dp.type IN ('SL', 'IN', 'UP', 'EX') -- SL(Select), IN(Insert), Up(Update), Ex(Execute)
ORDER BY o.type_desc, 
         o.name;
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitchandnz.wordpress.com/1630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitchandnz.wordpress.com/1630/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitchandnz.wordpress.com/1630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitchandnz.wordpress.com/1630/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitchandnz.wordpress.com/1630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitchandnz.wordpress.com/1630/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitchandnz.wordpress.com/1630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitchandnz.wordpress.com/1630/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitchandnz.wordpress.com/1630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitchandnz.wordpress.com/1630/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitchandnz.wordpress.com/1630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitchandnz.wordpress.com/1630/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitchandnz.wordpress.com/1630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitchandnz.wordpress.com/1630/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1630&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amitchandnz.wordpress.com/2011/11/22/list-of-database-object-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d83f4c0735c9aba0aeed71313da7a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>Replace Double Space With Single Space</title>
		<link>http://amitchandnz.wordpress.com/2011/11/22/replace-double-space-with-single-space/</link>
		<comments>http://amitchandnz.wordpress.com/2011/11/22/replace-double-space-with-single-space/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 01:13:46 +0000</pubDate>
		<dc:creator>nzgeek</dc:creator>
				<category><![CDATA[SQL Server 2005]]></category>

		<guid isPermaLink="false">http://amitchandnz.wordpress.com/?p=1628</guid>
		<description><![CDATA[To find the nth maximum record, you can try the following:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1628&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To find the nth maximum record, you can try the following:<br />
<pre class="brush: sql;">
-- Declare variables
DECLARE @lv_string VARCHAR(500);

-- Initialise variable
SET @lv_string = 'Do something      with      the    result  !';

-- Loop until all double spaces are replaced with single space
WHILE CHARINDEX(SPACE(2), @lv_string) &gt; 0 
BEGIN
   SET @lv_string = REPLACE(@lv_string, SPACE(2), SPACE(1));
END;

-- Return string
SELECT @lv_string;
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitchandnz.wordpress.com/1628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitchandnz.wordpress.com/1628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitchandnz.wordpress.com/1628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitchandnz.wordpress.com/1628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitchandnz.wordpress.com/1628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitchandnz.wordpress.com/1628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitchandnz.wordpress.com/1628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitchandnz.wordpress.com/1628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitchandnz.wordpress.com/1628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitchandnz.wordpress.com/1628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitchandnz.wordpress.com/1628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitchandnz.wordpress.com/1628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitchandnz.wordpress.com/1628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitchandnz.wordpress.com/1628/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=amitchandnz.wordpress.com&amp;blog=5241216&amp;post=1628&amp;subd=amitchandnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://amitchandnz.wordpress.com/2011/11/22/replace-double-space-with-single-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d83f4c0735c9aba0aeed71313da7a29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
	</channel>
</rss>
