<?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"
	>

<channel>
	<title>Kaeli's Space</title>
	<atom:link href="http://www.kaelisspace.com/wordpress22/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kaelisspace.com/wordpress22</link>
	<description>Tips, tricks, and tidbits from a pet-loving computer geek</description>
	<pubDate>Sat, 27 Dec 2008 12:39:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Bubba likes burritos [video]</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/12/27/bubba-likes-burritos-video/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/12/27/bubba-likes-burritos-video/#comments</comments>
		<pubDate>Sat, 27 Dec 2008 12:39:34 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Dogs]]></category>

		<category><![CDATA[humor]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=829</guid>
		<description><![CDATA[Totally reminds me of my dog, Ripley. She&#8217;s a Hoover, too.


  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F12%2F27%2Fbubba-likes-burritos-video%2F';
  addthis_title  = 'Bubba+likes+burritos+%5Bvideo%5D';
  addthis_pub    = '';

]]></description>
			<content:encoded><![CDATA[<p>Totally reminds me of my dog, Ripley. She&#8217;s a Hoover, too.</p>
<p><embed src="http://www.youtube.com/v/Wb3UrJjAac4&#038;rel=0&#038;color1=0x2b405b&#038;color2=0x6b8ab6&#038;hl=en&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F12%2F27%2Fbubba-likes-burritos-video%2F';
  addthis_title  = 'Bubba+likes+burritos+%5Bvideo%5D';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/12/27/bubba-likes-burritos-video/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PDF page count</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/12/19/pdf-page-count/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/12/19/pdf-page-count/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 15:10:44 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<category><![CDATA[page count]]></category>

		<category><![CDATA[PDF]]></category>

		<category><![CDATA[winforms]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=827</guid>
		<description><![CDATA[I needed to get the page count of a pdf file. Not just one, actually. Thousands. We have a small winforms utility that takes a bunch of pdfs from a directory and bundles them up along with a metadata file and ships them off to a client via FTP. The metadata file has to have [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to get the <strong>page count of a pdf file</strong>. Not just one, actually. Thousands. We have a small winforms utility that takes a bunch of pdfs from a directory and bundles them up along with a metadata file and ships them off to a client via FTP. The metadata file has to have the page count of each of the pdf files in the bundle.</p>
<p>I could have paid over $1500 for a .NET plugin for Adobe. Or I could use this inside my loop that processes the files.</p>
<pre class="code"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><span style="font-family: &quot;Courier New&quot;; color: blue;">string</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> pdfText = </span><span style="font-family: &quot;Courier New&quot;; color: teal;">File</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.ReadAllText(file.FullName);</span>

<span style="font-family: &quot;Courier New&quot;; color: teal;">Regex</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> rx1 = </span><span style="font-family: &quot;Courier New&quot;; color: blue;">new</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: teal;">Regex</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">(</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">@"/Type\s*/Page[^s]"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">);</span>

<span style="font-family: &quot;Courier New&quot;; color: teal;">MatchCollection</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> matches = rx1.Matches(pdfText);</span>

<span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">loandoc.page_count = matches.Count.ToString();</span></pre>
<p>I thought it might be terribly slow because it&#8217;s reading each file, but for our needs, it worked great. Well-worth the savings in money on the plug-in just to get the page counts.</p>
<p>Now if I could just get page counts on Word docs without COM&#8230;any tips from the peanut gallery?  =)</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F12%2F19%2Fpdf-page-count%2F';
  addthis_title  = 'PDF+page+count';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/12/19/pdf-page-count/feed/</wfw:commentRss>
		</item>
		<item>
		<title>XML String into DataSet</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/12/19/xml-string-into-dataset/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/12/19/xml-string-into-dataset/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 14:56:35 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<category><![CDATA[DataSet]]></category>

		<category><![CDATA[ReadXml]]></category>

		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=825</guid>
		<description><![CDATA[A particular query (a stored procedure, actually) I was stuck using returned XML from one of our legacy applications. It wasn&#8217;t pretty XML and didn&#8217;t work well with XmlDataSource, and XML DOM methods can be tedious. I found myself wishing I just had a DataSet. So I read it in as one.
In order to get [...]]]></description>
			<content:encoded><![CDATA[<p>A particular query (a stored procedure, actually) I was stuck using returned XML from one of our legacy applications. It wasn&#8217;t pretty XML and didn&#8217;t work well with XmlDataSource, and XML DOM methods can be tedious. I found myself wishing I just had a <a href="http://msdn.microsoft.com/en-us/library/c7xcc35f(VS.80).aspx">DataSet</a>. So I read it in as one.</p>
<p>In order to get the string results of the procedure into an untyped DataSet, I used <a href="http://msdn.microsoft.com/en-us/library/c7xcc35f(VS.80).aspx">ReadXml and a StringReader</a>.</p>
<pre class="code"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]-->
<span style="font-family: &quot;Courier New&quot;; color: teal;">DataSet</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> dataset = </span><span style="font-family: &quot;Courier New&quot;; color: blue;">new</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: teal;">DataSet</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">();</span>

<span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">dataset.ReadXml(<span style="color: blue;">new</span> <span style="color: teal;">StringReader</span>(xmlString));</span></pre>
<p>You can grab a <a href="http://msdn.microsoft.com/en-us/library/ms762271(VS.85).aspx">sample XML file called books.xml from Microsoft&#8217;s website here</a> if you want to play and see how to work with what comes from ReadXml into an untyped, plain DataSet. A word of caution, though &#8212; <strong><em>books.xml</em> </strong>is a well-formed and structured file and may be easier to work with than is typical of other people&#8217;s files.</p>
<p>There are other options, of course, depending on what works best for your application and data. You could read it into an XmlDocument and use XML methods (XPath and such), you could define a strongly typed dataset and read it into that, or you could use XmlDataSource. Play with your data and see what works best for it and your situation. Remember the rule &#8212; keep it simple. If it seems like what you&#8217;re doing is far more complicated than it needs to be, it probably is.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F12%2F19%2Fxml-string-into-dataset%2F';
  addthis_title  = 'XML+String+into+DataSet';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/12/19/xml-string-into-dataset/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WOTD: Ennui</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/12/12/wotd-ennui/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/12/12/wotd-ennui/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 14:23:05 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Word Of The Day]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=404</guid>
		<description><![CDATA[Today&#8217;s word is brought to you by a Dilbert comic.
Ennui:
1. boredom: the feeling of being bored by something tedious
2. listlessness, boredom; melancholia, depression
3. the French word for boredom
It&#8217;s a fancy way of saying that you&#8217;re so bored, you might just gouge out your own eyeballs for pure entertainment value.

  addthis_url    = [...]]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s word is brought to you by a Dilbert comic.</p>
<p><a href="http://www.google.com/search?q=define%3Aennui&amp;sourceid=navclient-ff&amp;ie=UTF-8&amp;rlz=1B3GGGL_en___US213">Ennui</a>:</p>
<p>1. <span>boredom: the feeling of being bored by something tedious</span><br />
2. <span>listlessness, boredom; melancholia, depression</span><br />
3. <span>the French word for boredom</span></p>
<p>It&#8217;s a fancy way of saying that you&#8217;re so bored, you might just gouge out your own eyeballs for pure entertainment value.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F12%2F12%2Fwotd-ennui%2F';
  addthis_title  = 'WOTD%3A+Ennui';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/12/12/wotd-ennui/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Unusual Job Interview Questions</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/12/11/unusual-job-interview-questions/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/12/11/unusual-job-interview-questions/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 04:11:26 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Snarktastic]]></category>

		<category><![CDATA[interview questions]]></category>

		<category><![CDATA[OMGWTFBBQ]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=820</guid>
		<description><![CDATA[This article over on About.com got my attention. It deals with unusual job interview questions. We&#8217;re hiring over at my company and I was checking out interview styles and such. I have to tell you, I find the notion of questions like these to be amsuing at best, and offensive at worst. I can&#8217;t imagine [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Unusual Job Interview Questions" href="http://humanresources.about.com/od/interviewing/a/interview_odd.htm">This article over on About.com</a> got my attention. It deals with unusual job interview questions. We&#8217;re hiring over at my company and I was checking out interview styles and such. I have to tell you, I find the notion of questions like these to be amsuing at best, and offensive at worst. I can&#8217;t imagine they&#8217;d tell me whether someone was going to be a good developer or team member, but hey, maybe I&#8217;m just not creative enough.</p>
<p>So, since I love my job and don&#8217;t plan on going anywhere soon, I figured I wouldn&#8217;t be given a chance to mess with anyone over these, so I posted my responses instead. Enjoy.</p>
<p><strong>&#8220;If you could be any character in fiction, whom would you be?&#8221;</strong></p>
<p>Harry Potter, of course. He gets the coolest broomstick.</p>
<p><strong>&#8220;If Hollywood made a movie about your life, whom would you like to see play the lead role as you?&#8221;</strong></p>
<p>Hands down, it would have to be <a title="wikipedia" href="http://en.wikipedia.org/wiki/Seth_Green">Seth Green</a>. You don&#8217;t get a cooler geek than Seth. We&#8217;d have to give him a wig and dress him in drag, but he wouldn&#8217;t mind, would he? He probably makes a prettier girl than me, anyway.</p>
<p><strong>&#8220;If you had to be shipwrecked on a deserted island, but all your human needs &#8212; such as food and water &#8212; were taken care of, what two items would you want to have with you?&#8221;</strong></p>
<p>A vibrator and a book. A long book. Oh, wait, scratch the book, I need a carton of batteries. Enough batteries and I won&#8217;t have time to read, anyway.</p>
<p><strong>&#8220;If you were a type of food, what type of food would you be?&#8221;</strong></p>
<p>Chocolate. After all, who doesn&#8217;t love chocolate? Only the mentally insane don&#8217;t like chocolate, folks.</p>
<p><strong>&#8220;How do I rate as an interviewer?&#8221;</strong></p>
<p>Do you really want me to answer that after you asked me questions like those?</p>
<p><strong><em>Anyone care to tackle any more of <a href="http://humanresources.about.com/od/interviewing/a/interview_odd.htm">these fun and interesting questions</a>? Share with us in the comments!<br />
</em></strong></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F12%2F11%2Funusual-job-interview-questions%2F';
  addthis_title  = 'Unusual+Job+Interview+Questions';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/12/11/unusual-job-interview-questions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Thank you!</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/12/07/thank-you/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/12/07/thank-you/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 18:02:57 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[It's teh funnay]]></category>

		<category><![CDATA[humor]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=818</guid>
		<description><![CDATA[One of the funnier forwards I&#8217;ve gotten in my inbox of late&#8230;
I just want to thank all of you for your educational emails over the past year.
Thanks to you, I no longer open a public bathroom door without using a paper towel.
I can&#8217;t use the remote in a hotel room because I don&#8217;t know what [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em>One of the funnier forwards I&#8217;ve gotten in my inbox of late&#8230;</em></strong></p>
<p>I just want to thank all of you for your educational emails over the past year.</p>
<p>Thanks to you, I no longer open a public bathroom door without using a paper towel.</p>
<p>I can&#8217;t use the remote in a hotel room because I don&#8217;t know what the last person was doing while flipping through the channels.</p>
<p>I can&#8217;t sit down on the hotel bedspread because I can only imagine what has happened on it since it was last washed.</p>
<p>I can&#8217;t enjoy lemon slices in my tea or on my seafood anymore because lemon peels have been found to contain all kinds of nasty germs including feces.</p>
<p>I have trouble shaking hands with someone who has been driving because the number one pastime while driving alone is picking your nose.</p>
<p>Eating a Little Debbie sends me on a guilt trip because I can only imagine how many gallons of trans fats I have consumed over the years.</p>
<p>I can&#8217;t touch any woman&#8217;s purse for fear she has placed it on the floor of a public bathroom.</p>
<p>I must send my special thanks to whoever sent me the one about poop in the glue on envelopes because I now have to use a wet sponge with every envelope that needs sealing.</p>
<p>Also, now I have to scrub the top of every can I open for the same reason.</p>
<p>I no longer have any savings because I gave it to a sick girl (Penny Brown) who is about to die in the hospital for the 1,387,258th time.</p>
<p>I no longer have any money at all, but that will change once I receive the $15,000 that Bill Gates/Microsoft and AOL are sending me for participating in their special e-mail program &#8230;</p>
<p>I no longer worry about my soul because I have 363,214 angels looking out for me, and St.Theresa&#8217;s novena has granted my every wish.</p>
<p>I no longer eat KFC because their chickens are actually horrible mutant freaks with no eyes or feathers.</p>
<p>I no longer use cancer-causing deodorants even though I smell like a water buffalo on a hot day.</p>
<p>Thanks to you, I have learned that my prayers only get answered if I forward an e-mail to seven of my friends and make a wish within five minutes.</p>
<p>Because of your concern I no longer drink Coca Cola because it can remove toilet stains.</p>
<p>I no longer can buy gasoline without taking someone along to watch the car so a serial killer won&#8217;t crawl in my back seat when I&#8217; m p umping gas.</p>
<p>I no longer drink Pepsi or Dr Pepper since the people who make these products are atheists who refuse to put &#8216;Under God&#8217; on their cans.</p>
<p>I no longer use Saran wrap in the microwave because it causes cancer.</p>
<p>And thanks for letting me know I can&#8217;t boil a cup of water in the microwave anymore because it will blow up in my face&#8230;disfiguring me for life.</p>
<p>I no longer check the coin return on pay phones because I could be pricked with a needle infected with AIDS.</p>
<p>I no longer go to shopping malls because someone will drug me with a perfume sample and rob me.</p>
<p>I no longer receive packages from UPS or FedEx since they are actually Al Qaeda in disguise.</p>
<p>I no longer shop at Target since they are French and don&#8217;t support our American troops or the Salvation Army.</p>
<p>I no longer answer the phone because someone will ask me to dial a number for or which I will get a phone bill with calls to  Jamaica  , Uganda  ,  Singapore  and  Uzbekistan  .</p>
<p>I no longer buy expensive cookies from Neiman-Marcus since I now have their recipe.</p>
<p>Thanks to you, I can&#8217;t use anyone&#8217;s toilet but mine because a big brown African spider is lurking under the seat to cause me instant death when it bites my butt.</p>
<p>And thanks to your great advice, I can&#8217;t ever pick up $5.00 dropped in the parking lot because it probably was placed there by a rapist waiting underneath my car to grab my leg.</p>
<p>If you don&#8217;t send this e-mail to at least 144,000 people in the next 70 minutes, a large dove with diarrhea will land on your head at 5:00 PM this afternoon and the fleas from 12 camels will infest your back, causing you to grow a hairy hump. I know this will occur because it actually happened to a friend of my next door neighbor&#8217;s ex-mother-in-law&#8217;s second husband&#8217;s cousin&#8217;s beautician..</p>
<p>Have a wonderful day..</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F12%2F07%2Fthank-you%2F';
  addthis_title  = 'Thank+you%21';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/12/07/thank-you/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Why cats don&#8217;t work in IT</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/11/28/why-cats-dont-work-in-it/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/11/28/why-cats-dont-work-in-it/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 13:32:07 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Cats]]></category>

		<category><![CDATA[Video]]></category>

		<category><![CDATA[humor]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=815</guid>
		<description><![CDATA[Cat: 0
Printer: 1


  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F11%2F28%2Fwhy-cats-dont-work-in-it%2F';
  addthis_title  = 'Why+cats+don%26%238217%3Bt+work+in+IT';
  addthis_pub    = '';

]]></description>
			<content:encoded><![CDATA[<p>Cat: 0<br />
Printer: 1</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/kvBiSW5QFKY&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/kvBiSW5QFKY&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"></embed></object></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F11%2F28%2Fwhy-cats-dont-work-in-it%2F';
  addthis_title  = 'Why+cats+don%26%238217%3Bt+work+in+IT';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/11/28/why-cats-dont-work-in-it/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dizzy kitty</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/11/24/dizzy-kitty/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/11/24/dizzy-kitty/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 02:30:03 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Cats]]></category>

		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=813</guid>
		<description><![CDATA[I love how she stops and looks at it, then tries to edge up a little slower to sneak up on it.


  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F11%2F24%2Fdizzy-kitty%2F';
  addthis_title  = 'Dizzy+kitty';
  addthis_pub    = '';

]]></description>
			<content:encoded><![CDATA[<p>I love how she stops and looks at it, then tries to edge up a little slower to sneak up on it.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/s4l2LMVAzig&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/s4l2LMVAzig&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"></embed></object></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F11%2F24%2Fdizzy-kitty%2F';
  addthis_title  = 'Dizzy+kitty';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/11/24/dizzy-kitty/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Link Love</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/11/23/link-love/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/11/23/link-love/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 03:44:16 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Miscellaneous]]></category>

		<category><![CDATA[Excel]]></category>

		<category><![CDATA[RESTful web service]]></category>

		<category><![CDATA[self improvement]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=811</guid>
		<description><![CDATA[The following are some posts and articles that I&#8217;ve recently enjoyed, in no particular order. I thought I&#8217;d share.
RESTful Web services: The basics
Relative vs. Absolute References in Formulas 
Excel Basics: How to add drop down list to validate data 
What the IF? - learn 6 cool things you can do with excel if() functions 
10 [...]]]></description>
			<content:encoded><![CDATA[<p>The following are some posts and articles that I&#8217;ve recently enjoyed, in no particular order. I thought I&#8217;d share.</p>
<p><a href="http://www.ibm.com/developerworks/webservices/library/ws-restful/index.html?ca=drs-">RESTful Web services: The basics</a></p>
<p><a href="http://chandoo.org/wp/2008/11/04/relative-absolute-references-in-formulas/">Relative vs. Absolute References in Formulas </a></p>
<p><a href="http://chandoo.org/wp/2008/08/07/excel-add-drop-down-list/">Excel Basics: How to add drop down list to validate data </a></p>
<p><a href="http://chandoo.org/wp/2008/06/09/what-the-if-learn-6-cool-things-you-can-do-with-excel-if-functions/">What the IF? - learn 6 cool things you can do with excel if() functions </a></p>
<p><a href="http://www.popsci.com/entertainment-amp-gaming/gallery/2008-11/10-terrible-tech-ads">10 Terrible Tech Ads</a></p>
<p><a href="http://www.pickthebrain.com/blog/how-to-beat-the-plague-of-limiting-beliefs/">How to Beat the Plague of Limiting Beliefs</a></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F11%2F23%2Flink-love%2F';
  addthis_title  = 'Link+Love';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/11/23/link-love/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fun with DateTime</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/11/17/fun-with-datetime/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/11/17/fun-with-datetime/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 03:51:16 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<category><![CDATA[C#.NET]]></category>

		<category><![CDATA[console]]></category>

		<category><![CDATA[csharp]]></category>

		<category><![CDATA[DateTime]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=809</guid>
		<description><![CDATA[The results of my messing around with .NET DateTime. Hope this is useful for someone else!
using System;
namespace ConsoleApplication1
{
   class Program
   {
      static void Main(string[] args)
      {
      // fun with DateTime
      // [...]]]></description>
			<content:encoded><![CDATA[<p>The results of my messing around with .NET DateTime. Hope this is useful for someone else!</p>
<pre class="code"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if !mso]><span class="mceItemObject"   classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></span> <mce:style><!
st1\:*{behavior:url(#ieooui) }
--><span style="font-family: &quot;Courier New&quot;; color: blue;">using</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> System;</span>
<span style="font-family: &quot;Courier New&quot;; color: blue;">namespace</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> ConsoleApplication1</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;">{</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>   </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">class</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: teal;">Program</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>   </span>{</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">static</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: blue;">void</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: #000000;">Main</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">(</span><span style="font-family: &quot;Courier New&quot;; color: blue;">string</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">[] args)</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span>{</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: green;">// fun with DateTime</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: green;">// right now, including the time</span>
      <span style="font-family: &quot;Courier New&quot;; color: teal;">Console</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.WriteLine(</span><span style="font-family: &quot;Courier New&quot;; color: teal;">DateTime</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.Now);</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>
</span></span><span style="font-family: &quot;Courier New&quot;; color: green;">      // today's date, no time (midnite)</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">Console</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.WriteLine(</span><span style="font-family: &quot;Courier New&quot;; color: teal;">DateTime</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.Today);</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>
      </span></span><span style="font-family: &quot;Courier New&quot;; color: green;">// stripping a time off a DateTime (so it's midnite, useful for database queries)</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">DateTime</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> startDate = </span><span style="font-family: &quot;Courier New&quot;; color: teal;">DateTime</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.Parse(</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">10/31/2008</span><span style="font-family: &quot;Courier New&quot;; color: maroon;"> </span><span style="font-family: &quot;Courier New&quot;; color: maroon;">5:25 pm</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">); </span><span style="font-family: &quot;Courier New&quot;; color: green;">// pretend this came from a database or something</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">Console</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.WriteLine(startDate);<span> </span></span><span style="font-family: &quot;Courier New&quot;; color: green;">// see the time displayed</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span>startDate = startDate.Date; </span><span style="font-family: &quot;Courier New&quot;; color: green;">// this is just the date portion with no time</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">Console</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.WriteLine(startDate); </span><span style="font-family: &quot;Courier New&quot;; color: green;">// see, just has the date now</span>

<span style="font-family: &quot;Courier New&quot;; color: green;"> </span><span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>     </span></span><span style="font-family: &quot;Courier New&quot;; color: green;">// difference, in number of days, between two dates, human-logic, that is, the 5th is 2 days after the 3rd, no matter what time it was</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">DateTime</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> endDate = </span><span style="font-family: &quot;Courier New&quot;; color: teal;">DateTime</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.Parse(</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">11/03/2008</span><span style="font-family: &quot;Courier New&quot;; color: maroon;"> </span><span style="font-family: &quot;Courier New&quot;; color: maroon;">4:25 pm</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">); </span><span style="font-family: &quot;Courier New&quot;; color: green;">// pretend this came from a database or something, too</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">int</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> days = (startDate.Date - endDate.Date).Duration().Days;<span> </span></span><span style="font-family: &quot;Courier New&quot;; color: green;">// absolute value, order of start and end dates is not important</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">Console</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.WriteLine(days);</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">int</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> days2 = (startDate.Date - endDate.Date).Days;<span> </span></span><span style="font-family: &quot;Courier New&quot;; color: green;">// real value, order of start and end dates IS important</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">Console</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.WriteLine(days2);</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>
</span></span><span style="font-family: &quot;Courier New&quot;; color: green;">      // difference between dates with time portion, such as .25 hours (time and attendance, payroll)</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span>startDate = </span><span style="font-family: &quot;Courier New&quot;; color: teal;">DateTime</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.Parse(</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">11/17/2008</span><span style="font-family: &quot;Courier New&quot;; color: maroon;"> </span><span style="font-family: &quot;Courier New&quot;; color: maroon;">8:00 am</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">);</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;">      endDate = </span><span style="font-family: &quot;Courier New&quot;; color: teal;">DateTime</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.Parse(</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">11/17/2008</span><span style="font-family: &quot;Courier New&quot;; color: maroon;"> </span><span style="font-family: &quot;Courier New&quot;; color: maroon;">4:45 pm</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">);</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">TimeSpan</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> interval = endDate - startDate; </span><span style="font-family: &quot;Courier New&quot;; color: green;">// order matters</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">Console</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.WriteLine(interval);</span>

<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span><span style="color: green;">      </span></span></span><span style="font-family: &quot;Courier New&quot;; color: green;">// hey, don't we get a lunch break?</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">DateTime</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> startLunch = </span><span style="font-family: &quot;Courier New&quot;; color: teal;">DateTime</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.Parse(</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">11/17/2008</span><span style="font-family: &quot;Courier New&quot;; color: maroon;"> </span><span style="font-family: &quot;Courier New&quot;; color: maroon;">12:00 pm</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">);</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">DateTime</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> endLunch = </span><span style="font-family: &quot;Courier New&quot;; color: teal;">DateTime</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.Parse(</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">11/17/2008</span><span style="font-family: &quot;Courier New&quot;; color: maroon;"> </span><span style="font-family: &quot;Courier New&quot;; color: maroon;">12:25 pm</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">);</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">TimeSpan</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> lunchInterval = endLunch - startLunch; </span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">Console</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.WriteLine(interval - lunchInterval); </span><span style="font-family: &quot;Courier New&quot;; color: green;">// 20 minutes of overtime! (yeah, right)</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>
      </span></span><span style="font-family: &quot;Courier New&quot;; color: teal;">Console</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.Read();</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>      </span>}</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>   </span>}</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;">}</span></pre>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F11%2F17%2Ffun-with-datetime%2F';
  addthis_title  = 'Fun+with+DateTime';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/11/17/fun-with-datetime/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Don&#8217;t blame me, blame Excel</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/11/15/dont-blame-me-blame-excel/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/11/15/dont-blame-me-blame-excel/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 12:58:21 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[In The News]]></category>

		<category><![CDATA[responsibility]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=807</guid>
		<description><![CDATA[I found this recent news item over on Computer World pretty amusing.
Excel error leaves Barclays with more Lehman assets than it bargained for
October 14, 2008 (Computerworld)  A reformatting error in an Excel spreadsheet has cropped up in the largest bankruptcy case in U.S. history, prompting a legal motion by Barclays Capital Inc. to amend [...]]]></description>
			<content:encoded><![CDATA[<p>I found this recent news item over on Computer World pretty amusing.</p>
<p><a title="computer world" href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;articleId=9117143&amp;source=rss_topic9">Excel error leaves Barclays with more Lehman assets than it bargained for</a></p>
<blockquote><p>October 14, 2008 (Computerworld)  A reformatting error in an Excel spreadsheet has cropped up in the largest bankruptcy case in U.S. history, prompting a legal motion by Barclays Capital Inc. to amend its deal to buy some of the assets of Lehman Brothers Holdings Inc.</p>
<p>&#8230;</p>
<p>one of its first-year law associates had unknowingly added the contracts when reformatting a spreadsheet in Excel.</p></blockquote>
<p>Going on to read the rest of the article, it seems <strong>the real error here was that someone was in a hurry</strong> and didn&#8217;t pay enough attention to what he was doing. He was trying to export contents of Excel to a PDF.</p>
<blockquote><p>However, contracts that had been marked as &#8220;hidden&#8221; in the spreadsheet when it was received by the law firm were added to the purchase offer during the reformatting process, according to the motion. Those contracts weren&#8217;t supposed to be part of the deal; they also were marked with an &#8220;N&#8221; for &#8220;No&#8221; in the original version of the spreadsheet, Cleary Gottlieb said in the motion.</p></blockquote>
<p>That doesn&#8217;t seem like a &#8220;reformatting&#8221; error to me. That seems like an ID1OT error. <strong>We all do dumb things when we&#8217;re rushing to complete a task. </strong>That&#8217;s why I try very hard NOT to be in a hurry. It just leads to screw-ups. In this poor guy&#8217;s case, though, his mistake was very costly to both him and his company.</p>
<p>I have made some mistakes when rushing that have taught me the extreme value of simply taking that extra time to proof-read, and to breathe. I&#8217;ve used the wrong set of primary keys to update a database. I&#8217;ve forgotten a very crucial piece of a where clause. These mistakes have taught me to step back, take a little extra time, and don&#8217;t stress, or I might be spending a lot MORE time cleaning up my mess.</p>
<p><strong>What&#8217;s the biggest mistake you&#8217;ve made when you&#8217;re trying to rush to complete a task? What did it teach you? Did you take responsibility, or try to blame the tools you used? How did it work out for you?</strong></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F11%2F15%2Fdont-blame-me-blame-excel%2F';
  addthis_title  = 'Don%26%238217%3Bt+blame+me%2C+blame+Excel';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/11/15/dont-blame-me-blame-excel/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I AM smiling [funny pic]</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/11/08/i-am-smiling-funny-pic/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/11/08/i-am-smiling-funny-pic/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 04:34:46 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[It's teh funnay]]></category>

		<category><![CDATA[Dogs]]></category>

		<category><![CDATA[humor]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=793</guid>
		<description><![CDATA[
see more puppies

  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F11%2F08%2Fi-am-smiling-funny-pic%2F';
  addthis_title  = 'I+AM+smiling+%5Bfunny+pic%5D';
  addthis_pub    = '';

]]></description>
			<content:encoded><![CDATA[<p><a href="http://ihasahotdog.com/2008/10/30/funny-dog-pictures-i-am-smiling/"><img class="mine_2134548" title="funny-dog-pictures-i-am-smiling" src="http://ihasahotdog.wordpress.com/files/2008/10/funny-dog-pictures-i-am-smiling.jpg" alt="funny dog pictures with captions" /></a><br />
see more <a href="http://ihasahotdog.com">puppies</a></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F11%2F08%2Fi-am-smiling-funny-pic%2F';
  addthis_title  = 'I+AM+smiling+%5Bfunny+pic%5D';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/11/08/i-am-smiling-funny-pic/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Political humor [video]</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/11/08/political-humor-video/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/11/08/political-humor-video/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 11:40:56 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Twisted]]></category>

		<category><![CDATA[humor]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=791</guid>
		<description><![CDATA[I can&#8217;t believe I just saw this today. Obama vs McCain, Republican view vs Democratic. Highly amusing.


  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F11%2F08%2Fpolitical-humor-video%2F';
  addthis_title  = 'Political+humor+%5Bvideo%5D';
  addthis_pub    = '';

]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t believe I just saw this today. Obama vs McCain, Republican view vs Democratic. Highly amusing.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/y-_JhRJ0tWA&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/y-_JhRJ0tWA&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;fs=1"></embed></object></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F11%2F08%2Fpolitical-humor-video%2F';
  addthis_title  = 'Political+humor+%5Bvideo%5D';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/11/08/political-humor-video/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Which path shall the young man take?</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/11/06/which-path-shall-the-young-man-take/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/11/06/which-path-shall-the-young-man-take/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 01:02:34 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Twisted]]></category>

		<category><![CDATA[humor]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=789</guid>
		<description><![CDATA[[From Bits and Pieces]
An old country preacher had a teenage son, and it was getting time the boy should give some thought to choosing a profession.  Like many young men his age, the boy didn’t really know what he wanted to do, and he didn’t seem too concerned about it.  One day, while [...]]]></description>
			<content:encoded><![CDATA[<p>[From <a href="http://bitsandpieces.us/">Bits and Pieces]</a></p>
<p>An old country preacher had a teenage son, and it was getting time the boy should give some thought to choosing a profession.  Like many young men his age, the boy didn’t really know what he wanted to do, and he didn’t seem too concerned about it.  One day, while the boy was away at school, his father decided to try an experiment. He went into the boy’s room and placed on his study table four objects.</p>
<p>1. A bible.</p>
<p>2. A silver dollar.</p>
<p>3. A bottle of whiskey.</p>
<p>4. And a Playboy magazine.</p>
<p>“I’ll just hide behind the door”, the old preacher said to himself. “When he comes home from school today, I’ll see which object he picks up.</p>
<p>If it’s the bible, he’s going to be a preacher like me, and what a blessing that would be!  If he picks up the dollar, he’s going to be a business man, and that would be okay, too.  But if he picks up the bottle, he’s going to be a no-good drunken bum, and Lord, what a shame that would be.  And worst of all if he picks up that magazine he’s going to be a skirt-chasing womanizer.”<br />
The old man waited anxiously, and soon heard his son’s foot-steps as he entered the house whistling and headed for his room.</p>
<p>The boy tossed his books on the bed, and as he turned to leave the room he spotted the objects on the table.  With curiosity in his eye, he walked over to inspect them.</p>
<p>Finally, he picked up the Bible and placed it under his arm.  He picked up the silver dollar and dropped into his pocket.  He uncorked the bottle and took a big drink, while he admired this month’s centerfold.</p>
<p>“Lord have mercy!”, the old preacher whispered disgustedly ..   “He’s gonna run for Congress!”</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F11%2F06%2Fwhich-path-shall-the-young-man-take%2F';
  addthis_title  = 'Which+path+shall+the+young+man+take%3F';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/11/06/which-path-shall-the-young-man-take/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET: Adding onclick to GridView rows</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/10/24/aspnet-adding-onclick-to-gridview-rows/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/10/24/aspnet-adding-onclick-to-gridview-rows/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 01:22:41 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<category><![CDATA[C#.NET]]></category>

		<category><![CDATA[csharp]]></category>

		<category><![CDATA[DataKeys]]></category>

		<category><![CDATA[GridView]]></category>

		<category><![CDATA[onclick]]></category>

		<category><![CDATA[RowDataBound]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=784</guid>
		<description><![CDATA[
I&#8217;ve seen this question posed in a few different forms. One guy wanted to have the user click on a GridView row and have a new window open with an external URL. Another wanted the click to pass a bound ID to the new window. Someone else wanted to have the click fire off a [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_327" class="wp-caption alignleft" style="width: 198px"><img class="size-full wp-image-327" style="margin: 5px;" title="csharp.net" src="http://www.kaelisspace.com/wordpress22/wp-content/uploads/2008/04/csharp.jpg" alt="asp.net c#" width="188" height="72" /><p class="wp-caption-text"> </p></div>
<p>I&#8217;ve seen this question posed in a few different forms. One guy wanted to have the user click on a <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.aspx">GridView</a> row and have a new window open with an external URL. Another wanted the click to pass a bound ID to the new window. Someone else wanted to have the click fire off a third party script.</p>
<p>You can either wait until the whole thing is loaded, then iterate through the rows, or you can attach a script during the binding. Most GridViews are databound at some point, and it&#8217;s quicker to just use that event than to iterate through who knows how many rows after the fact.</p>
<p>Here is an example ASP.NET GridView and SqlDataSource (using Northwind).</p>
<pre class="code"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Comic Sans MS"; 	panose-1:3 15 7 2 3 3 2 2 2 4; 	mso-font-charset:0; 	mso-generic-font-family:script; 	mso-font-pitch:variable; 	mso-font-signature:647 0 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Comic Sans MS"; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:Arial; 	color:navy; 	mso-bidi-font-weight:bold;} @page Section1 	{size:8.5in 11.0in; 	margin:45.0pt 45.0pt 45.0pt 45.0pt; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} --><!--[endif]--><span style="font-family: &quot;Courier New&quot;; color: blue;">&lt;</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">asp</span><span style="font-family: &quot;Courier New&quot;; color: blue;">:</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">GridView</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">ID</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="GridView1"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">runat</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="server"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">AutoGenerateColumns</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="False"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">DataKeyNames</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="CategoryID"</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: red;">DataSourceID</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="SqlDataSource1"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">OnRowDataBound</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="GridView1_RowDataBound"&gt;</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">&lt;</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">Columns</span><span style="font-family: &quot;Courier New&quot;; color: blue;">&gt;</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">&lt;</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">asp</span><span style="font-family: &quot;Courier New&quot;; color: blue;">:</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">BoundField</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">DataField</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="CategoryID"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">HeaderText</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="CategoryID"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">InsertVisible</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="False"</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: red;">ReadOnly</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="True"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">SortExpression</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="CategoryID"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: blue;">/&gt;</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">&lt;</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">asp</span><span style="font-family: &quot;Courier New&quot;; color: blue;">:</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">BoundField</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">DataField</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="CategoryName"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">HeaderText</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="CategoryName"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">SortExpression</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="CategoryName"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: blue;">/&gt;</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">&lt;</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">asp</span><span style="font-family: &quot;Courier New&quot;; color: blue;">:</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">BoundField</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">DataField</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="Description"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">HeaderText</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="Description"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">SortExpression</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="Description"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: blue;">/&gt;</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">Columns</span><span style="font-family: &quot;Courier New&quot;; color: blue;">&gt;</span>
<span style="font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">asp</span><span style="font-family: &quot;Courier New&quot;; color: blue;">:</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">GridView</span><span style="font-family: &quot;Courier New&quot;; color: blue;">&gt;</span>
<span style="font-family: &quot;Courier New&quot;; color: blue;">&lt;</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">asp</span><span style="font-family: &quot;Courier New&quot;; color: blue;">:</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">SqlDataSource</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">ID</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="SqlDataSource1"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">runat</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="server"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: red;">ConnectionString</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="</span><span style="background: yellow none repeat scroll 0% 0%; font-family: &quot;Courier New&quot;; color: #000000;">&lt;%</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">$ ConnectionStrings:NorthwindConnectionString <span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">%&gt;</span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">"</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: red;">SelectCommand</span><span style="font-family: &quot;Courier New&quot;; color: blue;">="SELECT [CategoryID], [CategoryName], [Description] FROM [Categories]"&gt;</span>
<span style="font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">asp</span><span style="font-family: &quot;Courier New&quot;; color: blue;">:</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">SqlDataSource</span><span style="font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></pre>
<p>Here is how you could attach a script that opens an arbitrary URL when the user clicks the row. My example passes the (data bound) category name to Google as a search.</p>
<pre class="code"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Comic Sans MS"; 	panose-1:3 15 7 2 3 3 2 2 2 4; 	mso-font-charset:0; 	mso-generic-font-family:script; 	mso-font-pitch:variable; 	mso-font-signature:647 0 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Comic Sans MS"; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:Arial; 	color:navy; 	mso-bidi-font-weight:bold;} @page Section1 	{size:8.5in 11.0in; 	margin:45.0pt 45.0pt 45.0pt 45.0pt; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} --><!--[endif]-->
<span style="font-family: &quot;Courier New&quot;; color: blue;">protected</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: blue;">void</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> GridView1_RowDataBound(</span><span style="font-family: &quot;Courier New&quot;; color: blue;">object</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> sender, </span><span style="font-family: &quot;Courier New&quot;; color: teal;">GridViewRowEventArgs</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> e)</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;">{</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">if</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> (e.Row.RowType == </span><span style="font-family: &quot;Courier New&quot;; color: teal;">DataControlRowType</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.DataRow)</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span>{</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">string</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> script = </span><span style="font-family: &quot;Courier New&quot;; color: teal;">String</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.Format(</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"window.open('http://www.google.com/search?q={0}')"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">, ((</span><span style="font-family: &quot;Courier New&quot;; color: teal;">DataRowView</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">)e.Row.DataItem)[</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"CategoryName"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">]);</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span>e.Row.Attributes.Add(</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"onclick"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">, script);</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span>}</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;">}</span></pre>
<p>Here is how you could open a new window and pass the GridView row&#8217;s DataKey to it. This example has just the one key, CategoryId.</p>
<pre class="code"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><span style="font-family: &quot;Courier New&quot;; color: blue;">protected</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> </span><span style="font-family: &quot;Courier New&quot;; color: blue;">void</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> GridView1_RowDataBound(</span><span style="font-family: &quot;Courier New&quot;; color: blue;">object</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> sender, </span><span style="font-family: &quot;Courier New&quot;; color: teal;">GridViewRowEventArgs</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> e)</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;">{</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">if</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> (e.Row.RowType == </span><span style="font-family: &quot;Courier New&quot;; color: teal;">DataControlRowType</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.DataRow)</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span>{</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">string</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> url = System.Web.</span><span style="font-family: &quot;Courier New&quot;; color: teal;">VirtualPathUtility</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.ToAbsolute(</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"~/Default9.aspx"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">) + </span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"?CategoryId="</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> +</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span>Server.UrlEncode(</span><span style="font-family: &quot;Courier New&quot;; color: teal;">Convert</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">.ToString(GridView1.DataKeys[e.Row.DataItemIndex].Value));</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span></span><span style="font-family: &quot;Courier New&quot;; color: blue;">string</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> script = </span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"window.open('"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> + url + </span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"')"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">;</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span>e.Row.Attributes.Add(</span><span style="font-family: &quot;Courier New&quot;; color: maroon;">"onclick"</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">, script);</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span>}</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;">}</span></pre>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F24%2Faspnet-adding-onclick-to-gridview-rows%2F';
  addthis_title  = 'ASP.NET%3A+Adding+onclick+to+GridView+rows';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/10/24/aspnet-adding-onclick-to-gridview-rows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Little kid and his lobster</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/10/20/little-kid-and-his-lobster/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/10/20/little-kid-and-his-lobster/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 02:56:39 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Video]]></category>

		<category><![CDATA[humor]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=782</guid>
		<description><![CDATA[I don&#8217;t usually post videos of things that don&#8217;t have fur, but this kid even made MY ovaries twitch. He&#8217;s the cutest little bugger (no pun intended).
&#8220;Can I touch them?&#8221;
&#8220;You can touch them.&#8221;
&#8220;No.&#8221;   *kid changes his mind*
Too cute.


  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F20%2Flittle-kid-and-his-lobster%2F';
  addthis_title  = 'Little+kid+and+his+lobster';
  addthis_pub    [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t usually post videos of things that don&#8217;t have fur, but this kid even made MY ovaries twitch. He&#8217;s the cutest little bugger (no pun intended).</p>
<p>&#8220;Can I touch them?&#8221;</p>
<p>&#8220;You can touch them.&#8221;</p>
<p>&#8220;No.&#8221;   *kid changes his mind*</p>
<p><strong>Too cute.</strong></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/J95dJCeBZVg&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/J95dJCeBZVg&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;fs=1"></embed></object></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F20%2Flittle-kid-and-his-lobster%2F';
  addthis_title  = 'Little+kid+and+his+lobster';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/10/20/little-kid-and-his-lobster/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Everyone loves CATURDAY</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/10/18/everyone-loves-caturday/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/10/18/everyone-loves-caturday/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 14:49:11 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Cats]]></category>

		<category><![CDATA[caturday]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=754</guid>
		<description><![CDATA[

more animals

more animals

more animals

  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F18%2Feveryone-loves-caturday%2F';
  addthis_title  = 'Everyone+loves+CATURDAY';
  addthis_pub    = '';

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.stuffonmycat.com/Creatures-On-My-Cat/20081002-gary4.html"><img src="http://www.stuffonmycat.com/images/stories/20081002_gary4.jpg" alt="" /></a></p>
<p><a href="http://icanhascheezburger.com/2008/09/26/funny-pictures-iz-mah-blankie-dun/"><img class="mine_1861129" title="funny-pictures-cat-asks-if-his-blanket-is-done-drying" src="http://icanhascheezburger.wordpress.com/files/2008/09/funny-pictures-cat-asks-if-his-blanket-is-done-drying.jpg" alt="cat" /></a><br />
more <a href="http://icanhascheezburger.com">animals</a></p>
<p><a href="http://icanhascheezburger.com/2008/10/03/funny-pictures-i-missed-you/"><img class="mine_1881987" title="funny-pictures-cat-missed-you1" src="http://icanhascheezburger.wordpress.com/files/2008/10/funny-pictures-cat-missed-you1.jpg" alt="cat" /></a><br />
more <a href="http://icanhascheezburger.com">animals</a></p>
<p><a href="http://icanhascheezburger.com/2008/10/02/funny-pictures-in-law-kitty-does-not-approve/"><img class="mine_1884462" title="funny-pictures-mother-in-law-cat-does-not-approve" src="http://icanhascheezburger.wordpress.com/files/2008/10/funny-pictures-mother-in-law-cat-does-not-approve.jpg" alt="cat" /></a><br />
more <a href="http://icanhascheezburger.com">animals</a></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F18%2Feveryone-loves-caturday%2F';
  addthis_title  = 'Everyone+loves+CATURDAY';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/10/18/everyone-loves-caturday/feed/</wfw:commentRss>
		</item>
		<item>
		<title>When the gas pedal becomes the brake pedal</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/10/17/when-the-gas-pedal-becomes-the-brake-pedal/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/10/17/when-the-gas-pedal-becomes-the-brake-pedal/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 15:03:18 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Bloggerific]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[opinion]]></category>

		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=776</guid>
		<description><![CDATA[In my company, we have a large in-house intranet application that drives me insane. Literally. In the interest of not having to train people how to use a web browser, they&#8217;ve used modal windows (real ones, for MSIE only, not the modern version using javascript and divs) and other components that completely break expected behavior [...]]]></description>
			<content:encoded><![CDATA[<p>In my company, we have a large in-house intranet application that drives me insane. Literally. <strong>In the interest of not having to train people how to use a web browser, </strong>they&#8217;ve used modal windows (real ones, for MSIE only, not the <a title="JQuery modal dialog Boxes " href="http://www.84bytes.com/2008/06/02/jquery-modal-dialog-boxes/">modern version</a> using <a title="Javascript Modal Dialog Tutorial" href="http://luke.breuer.com/tutorial/javascript-modal-dialog.aspx">javascript </a>and divs) and other components that <strong>completely break expected behavior of a web page to any experienced user</strong>.</p>
<p>I can&#8217;t copy and paste text, my right-click is broken, I can&#8217;t use the arrow keys to navigate, the tab key doesn&#8217;t tab form elements properly, and the enter key doesn&#8217;t submit forms. The modal windows render IE tabs useless. So we end up opening this particular application in its own MSIE window and open a different instance for everything else.</p>
<p><strong>Every time I mention that something is &#8220;broken&#8221;, I am told it is by design to help our poor newbie users not break anything.</strong></p>
<p>The design completely violates any semblance of usability, standards, and sanity. Experienced users are frustrated to the point of wanting to bash someone&#8217;s skull in. So, when I&#8217;m surfing the internet and see <a title="Prevent Early Form Submission by Hijacking the Enter Key" href="http://scriptandstyle.com/submissions/prevent-early-form-submission-by-hijacking-the-enter-key">posts like this one</a>, detailing how to <strong>break your application on purpose</strong> because you don&#8217;t feel like training users, it makes me want to scream.</p>
<p>If people are &#8220;accidentally submitting&#8221; the form, it&#8217;s a lot better, at least in my opinion, to force a confirmation than to break the form. Even better, try TRAINING people. I know, that&#8217;s just nonsense, isn&#8217;t it?</p>
<p><strong>The tab key moves between fields, not the enter key.</strong> If you need to allow carriage returns in input, then use the correct form element to allow it, such as textarea.</p>
<p>As far as I&#8217;m concerned, as a user, the form is SUPPOSED TO SUBMIT WHEN I HIT THE ENTER KEY. A <a href="http://www.google.com/search?q=form+submit+enter+key&amp;sourceid=navclient-ff&amp;ie=UTF-8&amp;rlz=1B3GGGL_en___US228">simple google search</a> shows I am not alone &#8212; people consider the thing broken if that doesn&#8217;t happen.</p>
<p>Breaking expected GUI behavior to cater to your inexperienced users is like saying you have a subset of people who drive cars who prefer the gas pedal to be on the left side and the brake pedal on the right, so that&#8217;s how you&#8217;re going to design YOUR car. That&#8217;s just great. Now, I&#8217;m used to the gas pedal being on the right, but when I get in YOUR car, it&#8217;s on the left. Thanks for confusing the hell out of me and making me think your car is broken.</p>
<p><strong>Standards exist for a reason. </strong>In a car, the steering wheel steers it, the pedals are in the same spots, and other controls work similarly enough that a person should be able to get in the car and drive it with little fuss, as long as they already know how to drive another car. For computer applications, Mac applications, Linux applications, and Windows applications all have conventions so that a person learns which keys tend to do which actions. An example of this is the control+c key combination on Windows. That should copy things to my clipboard. If it did something else, I&#8217;d be confused and peeved. You wouldn&#8217;t hijack that key combination for your winforms app (unless you enjoy frustrated users), so why would you hijack the enter key for a web form?</p>
<p>Am I alone in getting this annoyed? Do you think there is ever a good reason to choose to break a form for experienced users in the interests of inexperienced ones? Share your thoughts in the comments.</p>
<p>Edited to add: Due to the comments left, I want to be very clear here. It&#8217;s the CLIENTS I am pissed at, most of all the people who requested the abomination I have to use every day. I fail at English.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F17%2Fwhen-the-gas-pedal-becomes-the-brake-pedal%2F';
  addthis_title  = 'When+the+gas+pedal+becomes+the+brake+pedal';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/10/17/when-the-gas-pedal-becomes-the-brake-pedal/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CSS Positioning Basics</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/10/16/css-positioning-basics/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/10/16/css-positioning-basics/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 14:09:30 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[front-end design]]></category>

		<category><![CDATA[Tidbit]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=774</guid>
		<description><![CDATA[I have never seen a tutorial on CSS positioning as useful as this one.
Learn CSS Positioning In 10 Steps
I&#8217;m really mostly a server-side chick, so while I like CSS in theory, I don&#8217;t use it a lot beyond the most basic things like setting colors, fonts, and maybe styling the occasional list item set into [...]]]></description>
			<content:encoded><![CDATA[<p>I have never seen a tutorial on CSS positioning as useful as this one.</p>
<p><a href="http://www.barelyfitz.com/screencast/html-training/css/positioning/">Learn CSS Positioning In 10 Steps</a></p>
<p>I&#8217;m really mostly a server-side chick, so while I like CSS in theory, I don&#8217;t use it a lot beyond the most basic things like setting colors, fonts, and maybe styling the occasional list item set into a menu. I don&#8217;t really deal with front-end design on my day job. My CSS experience is pretty much limited to hacking other people&#8217;s CSS in themes I&#8217;m trying to use.</p>
<p>So CSS positioning is still a bit confuzzling for me. I liked the 10 steps of this tutorial because I could go back and forth to step 1 to compare easily and SEE the difference.</p>
<p>Hope this helps someone else, too!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F16%2Fcss-positioning-basics%2F';
  addthis_title  = 'CSS+Positioning+Basics';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/10/16/css-positioning-basics/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Upside down dogs</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/10/15/upside-down-dogs/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/10/15/upside-down-dogs/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 01:14:38 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Dogs]]></category>

		<category><![CDATA[humor]]></category>

		<category><![CDATA[link love]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=772</guid>
		<description><![CDATA[Just a little tidbit to share: in an online community I belong to, someone posted a link to a relatively new site. Looks cute. I had a good laugh, so I thought I&#8217;d share.

http://upsidedowndogs.com/
Enjoy!

  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F15%2Fupside-down-dogs%2F';
  addthis_title  = 'Upside+down+dogs';
  addthis_pub    = '';

]]></description>
			<content:encoded><![CDATA[<p>Just a little tidbit to share: in an online community I belong to, someone posted a link to a relatively new site. Looks cute. I had a good laugh, so I thought I&#8217;d share.</p>
<div class="wp-caption aligncenter" style="width: 410px"><a href="http://upsidedowndogs.com/post/54642039"><img title="upside down dog" src="http://img.photobucket.com/albums/v197/kaeli/kkPbMV7aXf38h294WjL1MvfFo1_400.jpg" alt="upside down dog" width="400" height="266" /></a><p class="wp-caption-text">upside down dog</p></div>
<p><img src="file:///C:/DOCUME%7E1/Owner/LOCALS%7E1/Temp/moz-screenshot-1.jpg" alt="" /></p>
<p><a href="http://upsidedowndogs.com/">http://upsidedowndogs.com/</a></p>
<p>Enjoy!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F15%2Fupside-down-dogs%2F';
  addthis_title  = 'Upside+down+dogs';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/10/15/upside-down-dogs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>C#.NET: Difference between &#124; and &#124;&#124; (bitwise vs conditional OR)</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/10/15/cnet-difference-between-and-bitwise-vs-conditional-or/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/10/15/cnet-difference-between-and-bitwise-vs-conditional-or/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 00:21:52 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<category><![CDATA[bitwise OR]]></category>

		<category><![CDATA[boolean inclusive OR]]></category>

		<category><![CDATA[C#.NET]]></category>

		<category><![CDATA[conditional OR]]></category>

		<category><![CDATA[csharp]]></category>

		<category><![CDATA[operators]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=770</guid>
		<description><![CDATA[We have a new coder at work who is in love with the Boolean inclusive OR operator (pipe symbol &#124; or as I have called it until now, bitwise OR), and he uses it for conditional expressions. I knew there had to be a difference between &#124; and the conditional OR operator &#124;&#124;, but I [...]]]></description>
			<content:encoded><![CDATA[<p>We have a new coder at work who is in love with the <strong>Boolean inclusive OR operator</strong> (pipe symbol | or as I have called it until now, <strong>bitwise OR</strong>), and he uses it for conditional expressions. I knew there had to be a difference between | and the <strong>conditional OR operator</strong> ||, but I wasn&#8217;t sure what it was. The code seemed to work fine, but it was nagging me.</p>
<p>So I finally got around to looking it up.</p>
<p>A behavior that I take for granted in C# is the <a href="http://www.csharphelp.com/archives/archive169.html">result of using the conditional operators</a> (two pipe symbols ||  or 2 ampersand symbols &amp;&amp; ) with boolean expressions. For an OR, the first expression that evaluates to true stops the evaluations. For AND, the first one that evaluates to false stops them.</p>
<p>This makes a big difference when doing checking for nulls or other conditions that would cause runtime exceptions without having to nest the checks.</p>
<p>This code runs fine, even with no dataset.</p>
<pre class="code"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]-->
<span style="font-family: &quot;Courier New&quot;; color: teal;">DataSet</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> ds = </span><span style="font-family: &quot;Courier New&quot;; color: blue;">null</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">;</span>
<span style="font-family: &quot;Courier New&quot;; color: green;">// code here to load dataset, etc</span>

<span style="font-family: &quot;Courier New&quot;; color: blue;">if</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> (ds != </span><span style="font-family: &quot;Courier New&quot;; color: blue;">null</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> &amp;&amp; </span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>    </span>ds.Tables != </span><span style="font-family: &quot;Courier New&quot;; color: blue;">null</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> &amp;&amp;</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>    </span>ds.Tables[0] != </span><span style="font-family: &quot;Courier New&quot;; color: blue;">null</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> &amp;&amp;</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>    </span>ds.Tables.Count &gt; 0)</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;">{</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>   </span></span><span style="font-family: &quot;Courier New&quot;; color: green;">//do something with the table</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;">}</span></pre>
<p>This code throws a runtime exception, because ds is null, so you get a NullReferenceException when it proceeds to go on and hit ds.Tables.</p>
<pre class="code"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]-->
<span style="font-family: &quot;Courier New&quot;; color: teal;">DataSet</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> ds = </span><span style="font-family: &quot;Courier New&quot;; color: blue;">null</span><span style="font-family: &quot;Courier New&quot;; color: #000000;">;</span>
<span style="font-family: &quot;Courier New&quot;; color: green;">// code here to load dataset, etc</span>
<span style="font-family: &quot;Courier New&quot;; color: blue;">if</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> (ds != </span><span style="font-family: &quot;Courier New&quot;; color: blue;">null</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> &amp; </span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>   </span>ds.Tables != </span><span style="font-family: &quot;Courier New&quot;; color: blue;">null</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> &amp;</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span>  ds.Tables[0] != </span><span style="font-family: &quot;Courier New&quot;; color: blue;">null</span><span style="font-family: &quot;Courier New&quot;; color: #000000;"> &amp;</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span> </span>  ds.Tables.Count &gt; 0)</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;">{</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;"><span>  </span></span><span style="font-family: &quot;Courier New&quot;; color: green;">//do something with the table</span>
<span style="font-family: &quot;Courier New&quot;; color: #000000;">}</span></pre>
<p>As an aside, I believe the default for VB.NET OR and AND is to evaluate all sides all the time as Boolean Inclusive, since I&#8217;ve been flummoxed by null reference exceptions I didn&#8217;t expect when trying similar coding. One of these days I&#8217;ll look that up, too.  =)</p>
<p>Got more tips or goodies for us? Please share them in the comments!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F15%2Fcnet-difference-between-and-bitwise-vs-conditional-or%2F';
  addthis_title  = 'C%23.NET%3A+Difference+between+%7C+and+%7C%7C+%28bitwise+vs+conditional+OR%29';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/10/15/cnet-difference-between-and-bitwise-vs-conditional-or/feed/</wfw:commentRss>
		</item>
		<item>
		<title>QOTD: Attitude</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/10/13/qotd-attitude/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/10/13/qotd-attitude/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 13:59:32 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Quote Of The Day]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=768</guid>
		<description><![CDATA[&#8220;The longer I live, the more I realize the impact of attitude on life. Attitude, to me, is more important than facts. It is more important than the past, the education, the money, than circumstances, than failure, than successes, than what other people think or say or do. It is more important than appearance, giftedness [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;The longer I live, the more I realize the impact of attitude on life. Attitude, to me, is more important than facts. It is more important than the past, the education, the money, than circumstances, than failure, than successes, than what other people think or say or do. It is more important than appearance, giftedness or skill. It will make or break a company&#8230; a church&#8230; a home. The remarkable thing is we have a choice everyday regarding the attitude we will embrace for that day. We cannot change our past&#8230; we cannot change the fact that people will act in a certain way. We cannot change the inevitable. The only thing we can do is play on the one string we have, and that is our attitude. I am convinced that life is 10% what happens to me and 90% of how I react to it. And so it is with you&#8230; we are in charge of our Attitudes.&#8221;</p></blockquote>
<p style="text-align: right;">&#8211; Charles R. Swindoll</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F13%2Fqotd-attitude%2F';
  addthis_title  = 'QOTD%3A+Attitude';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/10/13/qotd-attitude/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PA gets new puppy mill law</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/10/11/pa-gets-new-puppy-mill-law/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/10/11/pa-gets-new-puppy-mill-law/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 14:16:16 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Dogs]]></category>

		<category><![CDATA[In The News]]></category>

		<category><![CDATA[breeding]]></category>

		<category><![CDATA[dog law]]></category>

		<category><![CDATA[puppy mills]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=766</guid>
		<description><![CDATA[AP has posted an article, A new day for dogs: Pa. law targets puppy mills, detailing the new law meant to stop the horrors of unscrupulous commercial dog breeding (puppy mills).
From the article:
&#8220;The new law imposes strict standards on commercial kennels, including at least twice-a-year veterinary exams, larger cages and exercise requirements.&#8221;
I applaud their efforts, [...]]]></description>
			<content:encoded><![CDATA[<p>AP has posted an article, <a href="http://ap.google.com/article/ALeqM5iDhylDFlrtWaifaQsggr3_drI8WQD93NTUMG1">A new day for dogs: Pa. law targets puppy mills</a>, detailing the new law meant to stop the <a href="http://www.puppymillrescue.com/puppymill.htm">horrors </a>of unscrupulous commercial dog breeding (<a href="http://www.hsus.org/pets/issues_affecting_our_pets/get_the_facts_on_puppy_mills/">puppy mills</a>).</p>
<p>From the article:</p>
<blockquote><p>&#8220;The new law imposes strict standards on commercial kennels, including at least twice-a-year veterinary exams, larger cages and exercise requirements.&#8221;</p></blockquote>
<p><strong>I applaud their efforts</strong>, and I hope Iowa and the other <a href="http://www.msnbc.msn.com/id/19016050/">puppy mill states</a> follow suit with similar laws.</p>
<p>My worry is that despite the laws, unscrupulous commercial kennels will not change their ways. Let&#8217;s face it, it costs a lot more money to provide veterinary care, space, good food, exercise, and a clean environment for a large number of dogs. You have to pay more vet bills, and you have to pay more employees. You have to pay for lighting, air conditioning, and heating for the kennels. <strong>It&#8217;s going to cost a kennel money to bring up their care standard. Will the cost of violating the law be higher than the cost of complying with it?</strong></p>
<p>Fines only punish a business if the amount they have to pay is greater than the amount they would pay for complying. A true punishment would be a 3 strikes variety &#8212; after 3 violations, they lose their license. PERMANENTLY. The article didn&#8217;t mention what the punishment is for violations, but if it&#8217;s the usual fines, it&#8217;s not going to be harsh enough.</p>
<p>Also, <strong>where will they get the people to enforce the law</strong>? Will they have twice yearly inspections of every licensed kennel in the state? All (according to the article) 2600 of them? There are around 260 working days in the year for a typical Monday-Friday job. How could they possibly manage that many inspections? On whose tax dollar? No, I&#8217;m betting they will rely heavily on complaints and required paperwork submissions. Any idiot can hire an unethical veterinarian who is short on cash to that for them.</p>
<p><strong>Having the law is certainly a step forward, but puppy mills will never cease to exist until people stop buying their puppies.</strong> Please support your local <a title="How to Choose the 'Right' Dog Breeder" href="http://www.peteducation.com/article.cfm?cls=2&amp;cat=1671&amp;articleid=844">ethical </a>breeder. Don&#8217;t buy a dog from a pet store. Your dog will live for 8, 10, even 15 years or more. You don&#8217;t want a ton of health and behavioral problems to have to contend with. <a title="How To Tell A Good Dog Breeder" href="http://www.cbsnews.com/stories/2005/02/02/earlyshow/contributors/debbyeturner/main671062.shtml">Choose </a>your breeder <a title="How to Find a Good Dog Breeder" href="http://www.hsus.org/pets/pet_adoption_information/how_to_find_a_good_dog_breeder/">carefully</a>.</p>
<p><strong>What do you think? Will the new law make any difference? Is it worth taxpayer cash to stop puppymills, or should we concentrate on educating the public and let the free market put an end to it?  Share your thoughts in the comments.</strong></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F11%2Fpa-gets-new-puppy-mill-law%2F';
  addthis_title  = 'PA+gets+new+puppy+mill+law';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/10/11/pa-gets-new-puppy-mill-law/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Judge bars DVD copying software, apparently has never surfed internet</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/10/07/judge-bars-dvd-copying-softwar/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/10/07/judge-bars-dvd-copying-softwar/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 03:29:32 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[In The News]]></category>

		<category><![CDATA[DRM]]></category>

		<category><![CDATA[MPAA sucks]]></category>

		<category><![CDATA[pirating]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=764</guid>
		<description><![CDATA[MSNBC posted this story today (originally from AP, I believe).
From the article:
&#8220;SAN FRANCISCO - A federal judge has kept in place a temporary prohibition on RealNetworks Inc.&#8217;s distribution of software that lets consumers copy and store DVD movies on their personal computers and portable hard drives.&#8221;
Apparently, the judge must not surf the internet very often, [...]]]></description>
			<content:encoded><![CDATA[<p>MSNBC posted <a href="http://www.msnbc.msn.com/id/27075814/">this story</a> today (originally from AP, I believe).</p>
<p>From the article:</p>
<blockquote><p>&#8220;SAN FRANCISCO - A federal judge has kept in place a temporary prohibition on RealNetworks Inc.&#8217;s distribution of software that lets consumers copy and store DVD movies on their personal computers and portable hard drives.&#8221;</p></blockquote>
<p>Apparently, the judge must not surf the internet very often, or he or she would know that there is <strong>ALREADY software available that copies movies from DVDs to your hard drive.</strong> Xilisoft DVD Ripper, DVD Rip, and AOA DVD Ripper come to mind. There are more, of course.</p>
<p>I&#8217;m pretty peeved that I have to resort to &#8220;illegal&#8221; software to rip my OWN DVDS to my computer.</p>
<blockquote><p>&#8220;The movie studios contend that the software allows pirating. RealNetwork argues it is legal.&#8221;</p></blockquote>
<p><strong>Dear studios,</strong></p>
<p>Newsflash!!! - if I wanted to pirate your videos, I already have software to do so. Stop being morons so I can get software that works better to copy movies I legally own so I can watch them anywhere I wish on my laptop without having to tote 16 DVDs with me on vacation. <strong>Welcome to the year 2008. Please join us. </strong>Thanks.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F07%2Fjudge-bars-dvd-copying-softwar%2F';
  addthis_title  = 'Judge+bars+DVD+copying+software%2C+apparently+has+never+surfed+internet';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/10/07/judge-bars-dvd-copying-softwar/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Crocs [funny]</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/10/03/crocs-funny/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/10/03/crocs-funny/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 00:48:51 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[It's teh funnay]]></category>

		<category><![CDATA[humor]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=760</guid>
		<description><![CDATA[
Dear everyone who wears this travesty,
I have never found Crocs to be in the least bit appealing, and I will never cease to be surprised when you decide to show yourself in public wearing a pair. I will also never cease to laugh at you for doing so.
PLEASE LET THE CROC THING DIE NOW. And [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_761" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-761" title="crocs" src="http://www.kaelisspace.com/wordpress22/wp-content/uploads/2008/10/imagescrocs.jpg" alt="Crocs - this is how stupid you look" width="500" height="361" /><p class="wp-caption-text">Crocs - this is how stupid you look</p></div>
<p>Dear everyone who wears this travesty,</p>
<p>I have never found Crocs to be in the least bit appealing, and I will never cease to be surprised when you decide to show yourself in public wearing a pair. I will also never cease to laugh at you for doing so.</p>
<p>PLEASE LET THE CROC THING DIE NOW. <strong>And for the love of all that&#8217;s holy, they are NOT APPROPRIATE FOR WORKING IN A BUSINESS ENVIRONMENT. </strong>You look like you just finished your weekly Wal*Mart trip.<strong> </strong>You do not look like someone to take seriously, especially when you are wearing bright purple Crocs with your suit (true story, my friends, true and sad).<strong><br />
</strong></p>
<p>Thank you for your cooperation.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F03%2Fcrocs-funny%2F';
  addthis_title  = 'Crocs+%5Bfunny%5D';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/10/03/crocs-funny/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET to officially support jQuery</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/10/01/aspnet-to-officially-support-jquery/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/10/01/aspnet-to-officially-support-jquery/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 00:17:31 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<category><![CDATA[AJAX]]></category>

		<category><![CDATA[ASP.NET]]></category>

		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=758</guid>
		<description><![CDATA[Check it out - a blog post from Scott indicates that .NET, and Visual Studio, will support jQuery!
Scott says
&#8220;I&#8217;m excited today to announce that Microsoft will be shipping jQuery with Visual Studio going forward.  We will distribute the jQuery JavaScript library as-is, and will not be forking or changing the source from the main [...]]]></description>
			<content:encoded><![CDATA[<p>Check it out - <a href="http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx">a blog post from Scott indicates that .NET, and Visual Studio, will support jQuery</a>!</p>
<p>Scott says</p>
<p style="padding-left: 30px;">&#8220;I&#8217;m excited today to announce that Microsoft will be shipping jQuery with Visual Studio going forward.  We will distribute the jQuery JavaScript library as-is, and will not be forking or changing the source from the main jQuery branch.  The files will continue to use and ship under the existing jQuery MIT license.&#8221;</p>
<p>This is exciting news for developers, as <a href="http://jquery.com/">jQuery </a>will help fill the noticable gap in ASP.NET to be truly client rich. I know things I&#8217;d like to do, such as supporting dragging and dropping of elements in a grid (a la Netflix queue), are not possible with the out-of-the-box version of Studio / ASP.NET.</p>
<p>I&#8217;ve played with <a href="http://www.asp.net/ajax/">ASP.NET AJAX</a>, but found the performance to suck, and the component set to be ugly and difficult to style. At work, we use a popular third party component set called <a href="http://www.infragistics.com/">Infragistics</a>, and their components do perform well, but they are not free. I&#8217;m excited to hear about jQuery support because I think it will really open up the playing field for those who can&#8217;t afford third-party component sets.</p>
<p><strong>Do you use jQuery? What do you think of it? Does it perform well? Do you think it will take off for the .NET world?</strong></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F10%2F01%2Faspnet-to-officially-support-jquery%2F';
  addthis_title  = 'ASP.NET+to+officially+support+jQuery';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/10/01/aspnet-to-officially-support-jquery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET: What To Do If You&#8217;re A n00b</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/09/29/aspnet-what-to-do-if-youre-a-noob/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/09/29/aspnet-what-to-do-if-youre-a-noob/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 13:30:15 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<category><![CDATA[ASP.NET]]></category>

		<category><![CDATA[C#.NET]]></category>

		<category><![CDATA[Newbie Geek]]></category>

		<category><![CDATA[RTFM]]></category>

		<category><![CDATA[VB.NET]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=756</guid>
		<description><![CDATA[If you&#8217;re reading this article, either you&#8217;ve already started coding ASP.NET pages or you&#8217;re thinking about learning it. There&#8217;s a lot to know in the .NET world. Few of us are truly experts, even if we hold certifications. I&#8217;m always learning something new, and I&#8217;ve been developing with .NET for 3 years now.
There is so [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re reading this article, either you&#8217;ve already started coding ASP.NET pages or you&#8217;re thinking about learning it. There&#8217;s a lot to know in the .NET world. Few of us are truly experts, even if we hold <a href="http://www.microsoft.com/learning/mcp/mcts/webapps/default.mspx">certifications</a>. I&#8217;m always learning something new, and I&#8217;ve been developing with .NET for 3 years now.</p>
<p>There is so much to know and there are so many sources of knowledge, that it can seem like a daunting task to jump in and start doing useful things. Your mind might spin, and you don&#8217;t know where to start. No worries, there is a method to the madness. Grab an <a href="http://en.wikipedia.org/wiki/Integrated_development_environment">IDE</a>, a practice database, and start reading&#8230;</p>
<p><strong>Getting an IDE</strong></p>
<p>Get <strong>Visual Studio</strong> (costs money, sometimes provided by your company) or <strong>Visual Web Developer Express</strong> (<a href="http://www.microsoft.com/express/product/default.aspx">free download here from Microsoft</a>). I don&#8217;t know any serious ASP.NET developer who isn&#8217;t using one of those tools, so anyone offering you help will assume you have one. I&#8217;m sorry, but Dreamweaver sucks for .NET development. If you were using it for classic ASP, you&#8217;ll want to ditch it for ASP.NET.</p>
<p>When you get Studio or Web Developer Express, you&#8217;ll be prompted to <strong>download and install the .NET Framework</strong> if you haven&#8217;t yet done so.</p>
<p><strong>Get a database to query</strong></p>
<p>You can download <a href="http://www.microsoft.com/sql/editions/express/default.mspx">SQL Server Express edition from Microsoft for free</a>. Grab the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=06616212-0356-46A0-8DA2-EEBC53A68034&amp;displaylang=en">AdventureWorks database as well as the older Northwind</a> database. While Northwind was written for SQL Server 2000, it mounts just fine for 2005, and its data structure is far simpler and easier for a new person to work with.</p>
<p>Actually, I&#8217;m not new and <strong>I still prefer Northwind for its simplicity</strong>, as I usually use it for testing and learning .NET things, not database things. If you want to be a <a href="http://en.wikipedia.org/wiki/Database_administrator">DBA</a>, use AdventureWorks. If you want to learn to code .NET, use Northwind.</p>
<p><strong>Learning the .NET platform</strong></p>
<p>Now that you have the basic developer tools, you&#8217;re ready to dive in and learn to code.</p>
<ol>
<li>Read the <a href="http://quickstarts.asp.net/QuickStartv20/aspnet/">basic tutorials on the ASP.NET QuickStart guide</a>. Read it all at a high level first and let it sink in. After reading and digesting, go back through them again and actually follow with Visual Studio or Visual Web Developer Express to make them work.</li>
<li>Check out the <a href="http://www.w3schools.com/ASPNET/default.asp">beginner tutorials on w3schools.com</a></li>
<li>Get familiar with the <a href="http://msdn.microsoft.com/en-us/library/ms229335(VS.80).aspx">MSDN documentation</a>. You should know how to check out members, methods, properties, and events for the objects you use. For example, if you need to know how to get a record count when you&#8217;re using <a href="http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader(VS.80).aspx">SqlDataReader</a>, you pop over to the documentation and look up the class. If you look under <a href="http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader_members(VS.80).aspx">Members</a>, you will see a <strong>RecordsAffected </strong>member; click on that link and scroll down to <strong>Remarks</strong>, you will see details on how it works, and a caveat that it only works after all rows are read and the reader has been closed.<br />
<strong><span style="color: #993300;">I believe that learning to read and use the MSDN documentation is the single most important skill you will need in order to develop with .NET.</span></strong></li>
<li>Visit the <a href="http://social.msdn.microsoft.com/Search/en-US/?query=asp.net%20walkthrough&amp;ac=8">walkthroughs </a>on MSDN. <strong>There are thousands of walkthroughs</strong>, so you&#8217;re sure to find some that apply to what you need to do. Nearly all ASP.NET sites deal with <a href="http://en.wikipedia.org/wiki/Create,_read,_update_and_delete">CRUD operations</a> with a database, so be sure to check out the <a href="http://msdn.microsoft.com/en-us/library/tw738475(VS.80).aspx">Basic Data Access in Web Pages walkthrough</a>.<br />
If you find yourself thinking that a particular task you&#8217;re trying to accomplish is far too complicated you&#8217;re probably doing it wrong. Check these walkthroughs to make sure you&#8217;re Keeping It Simple.</li>
<li>Start lurking on <a href="http://forums.asp.net/">forums.asp.net</a>. <strong>The forums are a GREAT place to learn.</strong> I don&#8217;t know about you, but I have a hell of a time coming up with problems to solve, especially since I know how to do the basics already. I learn by doing, so I need a task to complete. As you lurk, see how many of the questions you can figure out the answers to. Try to solve the problems yourself, even if you never post a thing. Follow the answers given by others.</li>
<li>Get RSS feeds / bookmarks of your favorite developer sites. Some of my favorites, in no particular order: <a href="http://friendfeed.com/rooms/code-junkies">Code Junkies</a>, <a href="http://thedailywtf.com/">The Daily WTF</a>, <a href="http://www.devx.com/">DevX</a>, <a href="http://www.codinghorror.com/blog/">CodingHorror</a>, <a href="http://stackoverflow.com/">StackOverflow</a>, <a href="http://digg.com/programming">Digg.com Programming</a>, <a href="http://it.toolbox.com/blogs/it-blogs">ITToolbox</a>,  and <a href="http://www.c-sharpcorner.com/">C# Corner</a>.</li>
</ol>
<p>Do you have any more pointers to share with us? Sites that helped you learn and grow as a developer? <strong>Share them in the comments!</strong> Did you find this article helpful? I write these in order to help my fellow developers, so <strong>if you found it helpful, I&#8217;d love it if you shared it </strong>and passed it along. Thanks!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F09%2F29%2Faspnet-what-to-do-if-youre-a-noob%2F';
  addthis_title  = 'ASP.NET%3A+What+To+Do+If+You%26%238217%3Bre+A+n00b';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/09/29/aspnet-what-to-do-if-youre-a-noob/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Another week, another Caturday!</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/09/27/another-week-another-caturday/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/09/27/another-week-another-caturday/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 15:35:07 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Cats]]></category>

		<category><![CDATA[caturday]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=402</guid>
		<description><![CDATA[
more cat pictures

more animals
Kitten discovers a mirror:


Mean Rottweiler Plays With Kitten - Watch more free videos

  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F09%2F27%2Fanother-week-another-caturday%2F';
  addthis_title  = 'Another+week%2C+another+Caturday%21';
  addthis_pub    = '';

]]></description>
			<content:encoded><![CDATA[<p><a href="http://icanhascheezburger.com/2008/08/14/funny-pictures-closet-i-can-sleep-wit-u/"><img class="mine_1622983" src="http://icanhascheezburger.wordpress.com/files/2008/08/funny-pictures-scared-cat-asks-to-sleep-with-you.jpg" alt="cat" /></a><br />
more <a href="http://icanhascheezburger.com">cat</a> pictures</p>
<p><a href="http://icanhascheezburger.com/2008/09/02/funny-pictures-said-its-not-that-heavy-they-said/"><img class="mine_1724998" src="http://icanhascheezburger.wordpress.com/files/2008/08/funny-pictures-cat-could-not-lift-the-heavy-box.jpg" alt="cat" /></a><br />
more <a href="http://icanhascheezburger.com">animals</a></p>
<div class="wp-caption alignnone" style="width: 509px"><img title="I licked a funny stamp" src="http://img.photobucket.com/albums/v197/kaeli/ilickedafunnystamp.jpg" alt="I licked a funny stamp" width="499" height="374" /><p class="wp-caption-text">I licked a funny stamp</p></div>
<p>Kitten discovers a mirror:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="450" height="370" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.liveleak.com/e/581_1199169816" /><param name="wmode" value="transparent" /><embed type="application/x-shockwave-flash" width="450" height="370" src="http://www.liveleak.com/e/581_1199169816" wmode="transparent"></embed></object></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="464" height="392" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://embed.break.com/NTY1NTk4" /><embed type="application/x-shockwave-flash" width="464" height="392" src="http://embed.break.com/NTY1NTk4"></embed></object><br />
<span style="font-size: xx-small;"><a href="http://www.break.com/index/mean-rottweiler-has-soft-spot-for-kittens.html">Mean Rottweiler Plays With Kitten</a> - Watch more <a href="http://www.break.com/">free videos</a></span></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F09%2F27%2Fanother-week-another-caturday%2F';
  addthis_title  = 'Another+week%2C+another+Caturday%21';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/09/27/another-week-another-caturday/feed/</wfw:commentRss>
		</item>
		<item>
		<title>QOTD: ethically trained software engineers</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/09/24/qotd-ethically-trained-software-engineers/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/09/24/qotd-ethically-trained-software-engineers/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 03:58:07 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Quote Of The Day]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=752</guid>
		<description><![CDATA[&#8220;It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Basic professional ethics would instead require him to write a DestroyCity procedure, to which Baghdad could be given as a parameter.&#8221;
&#8211; Nathaniel Borenstein
Yep. I wouldn&#8217;t write it, either. If I had to, I&#8217;d write DestroyCity, and pacify someone [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Basic professional ethics would instead require him to write a DestroyCity procedure, to which Baghdad could be given as a parameter.&#8221;</p></blockquote>
<p style="text-align: right;">&#8211; Nathaniel Borenstein</p>
<p>Yep. I wouldn&#8217;t write it, either. If I had to, I&#8217;d write DestroyCity, and pacify someone with a DestroyBaghdad procedure, which internally just called DestroyCity(&#8221;Baghdad&#8221;)&#8230;</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.kaelisspace.com%2Fwordpress22%2F2008%2F09%2F24%2Fqotd-ethically-trained-software-engineers%2F';
  addthis_title  = 'QOTD%3A+ethically+trained+software+engineers';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.kaelisspace.com/wordpress22/2008/09/24/qotd-ethically-trained-software-engineers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>You don&#8217;t need a plugin to get videos into WordPress 2.6</title>
		<link>http://www.kaelisspace.com/wordpress22/2008/09/21/you-dont-need-a-plugin-to-get-videos-into-wordpress-26/</link>
		<comments>http://www.kaelisspace.com/wordpress22/2008/09/21/you-dont-need-a-plugin-to-get-videos-into-wordpress-26/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 15:49:01 +0000</pubDate>
		<dc:creator>kaeli</dc:creator>
		
		<category><![CDATA[Tidbit]]></category>

		<category><![CDATA[embedding videos]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.kaelisspace.com/wordpress22/?p=750</guid>
		<description><![CDATA[YouTube, MetaCafe, Google videos. We love them.
Anyone who has been using WordPress knows what a pain in the butt trying to get videos into your post can be. The WordPress WYSIWYG editor strips essential tags from the code when you go into code view, paste the code, then go back into the visual view.
Past versions [...]]]></description>
			<content:encoded><![CDATA[<p>YouTube, MetaCafe, Google videos. We love them.</p>
<p>Anyone who has been using WordPress knows what a pain in the butt trying to get videos into your post can be. The WordPress WYSIWYG editor strips essential tags from the code when you go into code view, paste the code, then go back into the visual view.</p>
<p>Past versions of Wordpress didn&#8217;t behave nicely no matter what you did, and people needed plugins that did interesting workarounds to get embeds to work properly.</p>
<p><strong>While WordPress 2.6 support for videos using its editor still bites, there is a far easier workaround to getting the videos to embed and not break when you go back to Visual view.</strong></p>
<p>To get a YouTube or other video into your post, do the following.</p>
<p><strong>1. Copy the code that the site lists as its embed code. That code will look something like this.</strong></p>
<p style="padding-left: 30px;">&lt;object width=&#8221;425&#8243; height=&#8221;344&#8243;&gt;&lt;param name=&#8221;movie&#8221; value=&#8221;http://www.youtube.com/v/YLDbGqJ2KYk&amp;hl=en&amp;fs=1&#8243;&gt;&lt;/param&gt;&lt;param name=&#8221;allowFullScreen&#8221; value=&#8221;true&#8221;&gt;&lt;/param&gt;&lt;embed src=&#8221;http://www.youtube.com/v/YLDbGqJ2KYk&amp;hl=en&amp;fs=1&#8243; type=&#8221;application/x-shockwave-flash&#8221; allowfullscreen=&#8221;true&#8221; width=&#8221;425&#8243; height=&#8221;344&#8243;&gt;&lt;/embed&gt;&lt;/object&gt;</p>
<p>2. Go to your blog post and pop into the HTML view.</p>
<p>3. Paste the copied embed code.</p>
<p><strong>4. Remove everything that isn&#8217;t part of the actual embed tag. You&#8217;ll end up with this.</strong></p>
<p style="padding-left: 30px;">&lt;embed src=&#8221;http://www.youtube.com/v/YLDbGqJ2KYk&amp;hl=en&amp;fs=1&#8243; type=&#8221;application/x-shockwave-flash&#8221; allowfullscreen=&#8221;true&#8221; width=&#8221;425&#8243; height=&#8221;344&#8243;&gt;&lt;/embed&gt;</p>
<p>Now when you switch into Visual view, you&#8217;ll see a little yellow box that appears to 