<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DUIBR349fCp7ImA9WhRRFE4.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842</id><updated>2011-11-27T23:45:56.064Z</updated><category term="C#" /><category term="jquery" /><category term="Reflection" /><category term="android" /><category term="Generics" /><category term="ASP.NET" /><title>Denham McCall's Blog</title><subtitle type="html">Development, thoughts, and ideas...</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://denham-mccall.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/DenhamMccall" /><feedburner:info uri="denhammccall" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DkcCQH0-eip7ImA9Wx5WGUs.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-4400662723194067530</id><published>2010-10-01T21:14:00.000+01:00</published><updated>2010-10-01T21:14:21.352+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-01T21:14:21.352+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="jquery" /><title>Vertical ticker in tooltip</title><content type="html">One of the features I was working on recently was to allow a user to be able to hover over a status label and to show a tooltip. So I ended up using the popular &lt;a href="http://docs.jquery.com/Plugins/Tooltip"&gt;jquery.tooltip plugin&lt;/a&gt; Fairly straight forward. But as we all know this evolved to become a little more complex...&lt;br /&gt;
&lt;br /&gt;
The issue with the tooltip was the data being displayed in the tooltip was quite lengthy and therefore the tooltip's stretched off the page. So an idea was to show a fixed height tooltip and as the user hovered over the status the tooltip data would start to scroll upwards, and repeat when it reached the end of the list.&lt;br /&gt;
&lt;br /&gt;
After searching around a bit I discovered Tadas Juozapaitis's excellent &lt;a href="http://www.jugbit.com/jquery-vticker-vertical-news-ticker/"&gt;jquery.ticker plugin&lt;/a&gt;. So I then tried fruitlessly to get them to work together. Eventually I then decided to alter the tooltip code, and inject some of the ticker code within it so that I could force the two to work together.&lt;br /&gt;
&lt;br /&gt;
The result was this. &lt;a href="https://docs.google.com/leaf?id=0ByjYwlC_LrQfZGQzNGQ2YjEtNjhiNC00MDJlLWE2YjgtZTk5ZjFhM2UwNzQ2&amp;sort=name&amp;layout=list&amp;num=50"&gt;Here is the hybrid plugin&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The tooltip now scrolls through the list contained within the tooltip and then continues from the beginning again when it reaches the end.&lt;br /&gt;
&lt;br /&gt;
This plugin is really just a hybrid, so thanks to the excellent work done by JÃ¶rn Zaefferer (tooltip) and Tadas Juozapaitis (vTicker). Thanks guys!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-4400662723194067530?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ADQdVUp38mfQJuTbSM2lQ1o3gRI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ADQdVUp38mfQJuTbSM2lQ1o3gRI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ADQdVUp38mfQJuTbSM2lQ1o3gRI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ADQdVUp38mfQJuTbSM2lQ1o3gRI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/XN5NpdkxBfU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/4400662723194067530/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=4400662723194067530" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/4400662723194067530?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/4400662723194067530?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/XN5NpdkxBfU/vertical-ticker-in-tooltip.html" title="Vertical ticker in tooltip" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2010/10/vertical-ticker-in-tooltip.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QFQXY9eSp7ImA9Wx5TFU0.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-5539439057499869796</id><published>2010-07-30T18:01:00.001+01:00</published><updated>2010-07-30T18:01:50.861+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-30T18:01:50.861+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="android" /><title>Blogger-droid</title><content type="html">&lt;p&gt;Just installed Blogger-droid off the android market place. &lt;br/&gt;  &lt;br/&gt; So this is a test. :)&lt;/p&gt;&lt;div style='clear: both; text-align: center; font-size: xx-small;'&gt;Published with Blogger-droid v1.4.8&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-5539439057499869796?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CKVokdxUCdGRUNO0_swL6VPObNE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CKVokdxUCdGRUNO0_swL6VPObNE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CKVokdxUCdGRUNO0_swL6VPObNE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CKVokdxUCdGRUNO0_swL6VPObNE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/arHIqPLaVFo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/5539439057499869796/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=5539439057499869796" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/5539439057499869796?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/5539439057499869796?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/arHIqPLaVFo/blogger-droid.html" title="Blogger-droid" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2010/07/blogger-droid.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0ABQn8zeyp7ImA9WxBQFEU.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-5688752557674973159</id><published>2010-01-14T16:15:00.000Z</published><updated>2010-01-14T16:15:53.183Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-14T16:15:53.183Z</app:edited><title>AOP (Aspect Orientated Programming) with Sprint.Net</title><content type="html">Sprint.Net provides very good documentation regarding Aspect Orientated Programming (Aop). It's really a very nice way of separating logging, transaction and performance monitoring functionality from your code.&lt;br /&gt;
&lt;br /&gt;
I would suggest anyone who's interested to read &lt;a href="http://www.springframework.net/doc/reference/html/aop-quickstart.html"&gt;this article&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-5688752557674973159?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/BMa19OBYZbIP0A8yWoFZXfaTjQM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BMa19OBYZbIP0A8yWoFZXfaTjQM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/BMa19OBYZbIP0A8yWoFZXfaTjQM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BMa19OBYZbIP0A8yWoFZXfaTjQM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/J5KVZjllYu4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/5688752557674973159/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=5688752557674973159" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/5688752557674973159?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/5688752557674973159?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/J5KVZjllYu4/aop-aspect-orientated-programming-with.html" title="AOP (Aspect Orientated Programming) with Sprint.Net" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2010/01/aop-aspect-orientated-programming-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQARHo7eip7ImA9WxBRFEg.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-3295115085654034247</id><published>2010-01-02T18:35:00.000Z</published><updated>2010-01-02T18:35:45.402Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-02T18:35:45.402Z</app:edited><title>Removing duplicate files from iTunes library</title><content type="html">Found this tool &lt;a href="http://www.softpedia.com/get/Multimedia/Audio/Other-AUDIO-Tools/Dupe-Eliminator-for-iTunes.shtml"&gt;Dupe Eliminator 9.2&lt;/a&gt; which you can get for free if you use &lt;a href="http://www.trialpay.com/"&gt;trialpay&lt;/a&gt; to purchase stuff from argos and many other providers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-3295115085654034247?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dYDyU5rR6pMQ19Ly_Pq0E4CIyJY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dYDyU5rR6pMQ19Ly_Pq0E4CIyJY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dYDyU5rR6pMQ19Ly_Pq0E4CIyJY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dYDyU5rR6pMQ19Ly_Pq0E4CIyJY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/_f_KflSk_KA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/3295115085654034247/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=3295115085654034247" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3295115085654034247?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3295115085654034247?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/_f_KflSk_KA/removing-duplicate-files-from-itunes.html" title="Removing duplicate files from iTunes library" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2010/01/removing-duplicate-files-from-itunes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUANQngzfSp7ImA9WxBSFEU.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-3120592022790967608</id><published>2009-12-22T12:09:00.000Z</published><updated>2009-12-22T12:09:53.685Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-22T12:09:53.685Z</app:edited><title>Webcontrol being serialized by ASP.NET but not added to Session state</title><content type="html">I had an issue where I had a property on a webcontrol that was being added to the session state (StateService). The property object was marked as serializable. But for some reason ASP.NET was trying to add the webcontrol to the session by serializing it and a serialization exception was being thrown.&lt;br /&gt;
&lt;br /&gt;
After quite a bit of investigation I found this very &lt;a href="http://piehead.livejournal.com/225258.html"&gt;useful&lt;/a&gt; article.&lt;br /&gt;
&lt;br /&gt;
In conclusion, on one of my child properties there was an event which was being assigned to an event handler within the page load of the webcontrol. Applying the workaround mentioned in the article solved my problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-3120592022790967608?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qu5A4hgV1k8cuwahCov5B-PUa7M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qu5A4hgV1k8cuwahCov5B-PUa7M/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qu5A4hgV1k8cuwahCov5B-PUa7M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qu5A4hgV1k8cuwahCov5B-PUa7M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/cSg1cQOCJ40" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/3120592022790967608/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=3120592022790967608" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3120592022790967608?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3120592022790967608?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/cSg1cQOCJ40/webcontrol-being-serialized-by-aspnet.html" title="Webcontrol being serialized by ASP.NET but not added to Session state" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/12/webcontrol-being-serialized-by-aspnet.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEMR384eSp7ImA9WxNaFks.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-962215718534391200</id><published>2009-12-01T09:44:00.000Z</published><updated>2009-12-01T09:44:46.131Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-01T09:44:46.131Z</app:edited><title>Invalid ViewState... ScriptResource.axd and Performance issues of late</title><content type="html">I've been looking recently into performance issues we were experiencing on one of our websites. This meant delving back into IIS application pools, running red-gate memory profiler and generally having a blast ;)&lt;br /&gt;
&lt;br /&gt;
The code base is part legacy code, which has not been extended correctly. The memory profiling highlighted one key factor which I think is vital, and is stressed in multiple performance articles scattered across the web.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;b&gt;Be careful with session state, if it's too big your system is going to suffer&lt;/b&gt;&lt;/blockquote&gt;&lt;br /&gt;
The code base has allot of complex objects which in turn have complex children, these are placed into session state and hang around eating up the w3wp.exe memory. All the session objects are run in-proc which is necessary because the objects have components that cannot be serialized, so extracting the session state to an out of proce provider was not an option.&lt;br /&gt;
&lt;br /&gt;
We ended up increasing the memory on the server, to buy us sometime to reduce the complexity of the session objects and find alternative methods of clearing the session state periodically.&lt;br /&gt;
&lt;br /&gt;
Another issue on the same server was we were seeing allot of Invalid ViewState error messages in the application event log. I read &lt;a href="http://www.31a2ba2a-b718-11dc-8314-0800200c9a66.com/2009/04/error-scriptresourceaxd-invalid.html"&gt;this article&lt;/a&gt; which pointed my focus in the right direction.&lt;br /&gt;
&lt;br /&gt;
Basically the DOCTYPE's on my website pages were set to use strict XHTML, and the ScriptResource.axd which contains all client side AJAX javascript was being incorrectly parsed by the browser. Therefore when sent back to the server the viewstate was invalid, and so we got the error.&lt;br /&gt;
&lt;br /&gt;
The solution was to change the browser to use the HTML DOCTYPE. This however messed up the display of the website, which I'm currently looking into now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-962215718534391200?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/At7S8NxI7AW1VqbEIkCdyl2yWYk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/At7S8NxI7AW1VqbEIkCdyl2yWYk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/At7S8NxI7AW1VqbEIkCdyl2yWYk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/At7S8NxI7AW1VqbEIkCdyl2yWYk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/mDblp6ME_kM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/962215718534391200/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=962215718534391200" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/962215718534391200?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/962215718534391200?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/mDblp6ME_kM/invalid-viewstate-scriptresourceaxd-and.html" title="Invalid ViewState... ScriptResource.axd and Performance issues of late" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/12/invalid-viewstate-scriptresourceaxd-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EEQn45fSp7ImA9Wx5WGUs.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-983351913192748622</id><published>2009-11-19T11:46:00.002Z</published><updated>2010-10-01T21:40:03.025+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-01T21:40:03.025+01:00</app:edited><title>_PublishedWebsites missing when using MSBuild</title><content type="html">Had some issues with msbuild this morning. The build was successful but when I looked into the drop location, there was no folder _PublishedWebsites only a list of all the bin dll's.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://mikehadlow.blogspot.com/2009/06/tfs-build-publishedwebsites-for-exe-and.html"&gt;This was the most useful link&lt;/a&gt; I found which explains how to change your projects csproj file in order to force msbuild to create and dump website files and folders into the drop locations _PublishedWebsites directory. (Basically so that msbuild knows the project is a web application)&lt;br /&gt;
&lt;br /&gt;
All you need to do is in the csproj file is to include this line:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: xml"&gt;&amp;lt;Import 
Project="
    $(MSBuildExtensionsPath)\
    Microsoft\VisualStudio\v9.0\
    WebApplications\Microsoft.WebApplication.targets" 
Condition="" /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-983351913192748622?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/E8NKkRBQo49JaRdwwy-cfRGhNSo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E8NKkRBQo49JaRdwwy-cfRGhNSo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/E8NKkRBQo49JaRdwwy-cfRGhNSo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E8NKkRBQo49JaRdwwy-cfRGhNSo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/r4xOXHOgvNk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/983351913192748622/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=983351913192748622" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/983351913192748622?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/983351913192748622?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/r4xOXHOgvNk/publishedwebsites-missing-when-using.html" title="_PublishedWebsites missing when using MSBuild" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/11/publishedwebsites-missing-when-using.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08CSX85eyp7ImA9WxNbFUo.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-3392746423274530700</id><published>2009-11-18T21:31:00.000Z</published><updated>2009-11-18T21:31:08.123Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-18T21:31:08.123Z</app:edited><title>Vista wireless internet connection not working</title><content type="html">I noticed periodically that my wireless connection to the internet was being dropped on my Windows Vista laptop, which only would work again after a restart.&lt;br /&gt;
&lt;br /&gt;
After googling around a bit, the common problem seemed to be that Vista try’s to manage your power and one of the features is it will turn off the wireless adapter to save precious power.&lt;br /&gt;
&lt;br /&gt;
So here are some simple steps to disable this feature, and allow yourself to freely browse the internet wirelessly from your vista PC.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Select start -&gt; Control Panel -&gt; Network and Sharing Centre&lt;/li&gt;
&lt;li&gt;Then under tasks on the left click &lt;b&gt;Manage Network Connections&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Right click your wirless network connection, and select properties. (Click continue to ensure you allow Vista permission to continue)&lt;/li&gt;
&lt;li&gt;Click configure, then click the &lt;b&gt;Power Management&lt;/b&gt; tab&lt;/li&gt;
&lt;li&gt;Untick &lt;b&gt;Allow the computer to turn off this device to save power&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-3392746423274530700?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hL04KX9d0L0WUHEoeyBzFuLR1A0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hL04KX9d0L0WUHEoeyBzFuLR1A0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hL04KX9d0L0WUHEoeyBzFuLR1A0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hL04KX9d0L0WUHEoeyBzFuLR1A0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/R7xh4vaqZ2I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/3392746423274530700/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=3392746423274530700" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3392746423274530700?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3392746423274530700?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/R7xh4vaqZ2I/vista-wireless-internet-connection-not.html" title="Vista wireless internet connection not working" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/11/vista-wireless-internet-connection-not.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkINSXY8fSp7ImA9WxNbFUk.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-3686511394696957567</id><published>2009-11-18T12:49:00.000Z</published><updated>2009-11-18T12:49:58.875Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-18T12:49:58.875Z</app:edited><title>Disable the Microsoft Application Error Reporting (DW20.exe)</title><content type="html">Hi&lt;br /&gt;
&lt;br /&gt;
We have a web application that writes to a network path, and to cut a long story short that path changed because of a hardware failure. This however brought up some strange behaviour...&lt;br /&gt;
&lt;br /&gt;
On the machine that hosts the web application that is trying to write to the network share, we noticed it started to run very slowly. After looking at the task manager we found a few instances of DW20.exe hogging the memory. &lt;br /&gt;
&lt;br /&gt;
Google told me that DW20.exe was actually Microsofts error reporting process. I then found this &lt;a href="http://forums.techarena.in/windows-server-help/442668.htm"&gt;very useful link&lt;/a&gt; which tells you how to disable it.&lt;br /&gt;
&lt;br /&gt;
After killing the DW20.exe processes however the machine had then run out of disk space??? I ran windirstat on the machine to see where all the space had gone. Turns out it had been used by some .dmp files in windows\temp directory. These files were generated also by DW20.exe.&lt;br /&gt;
&lt;br /&gt;
So in summary I'm not so sure why Microsoft's error reporting tool would use so much memory and create dump files that big, however my solution was to disable the error reporting, and kill all the DW20.exe processes and delete the .dmp files.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-3686511394696957567?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UsUVUUTn4fsi9UkPiuZ16X-C__M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UsUVUUTn4fsi9UkPiuZ16X-C__M/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UsUVUUTn4fsi9UkPiuZ16X-C__M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UsUVUUTn4fsi9UkPiuZ16X-C__M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/HYcXp2HWcdE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/3686511394696957567/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=3686511394696957567" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3686511394696957567?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3686511394696957567?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/HYcXp2HWcdE/disable-microsoft-application-error.html" title="Disable the Microsoft Application Error Reporting (DW20.exe)" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/11/disable-microsoft-application-error.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0ENRnY5fCp7ImA9WxNbEEk.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-6251654599701715209</id><published>2009-11-12T17:08:00.000Z</published><updated>2009-11-12T17:08:17.824Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-12T17:08:17.824Z</app:edited><title>Inversion of Control (Ioc) alternative to spring</title><content type="html">Came across this dependency injection framework called Winter4.Net which claims to be quick and lightweight. &lt;br /&gt;
&lt;br /&gt;
I've messed around with it a bit today and it is very easy to use.&lt;br /&gt;
&lt;br /&gt;
Check it out here: &lt;a href="http://www.winter4.net/"&gt;http://www.winter4.net/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-6251654599701715209?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4dUn1w-Sn63K4kLIOo_dE0yXU0E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4dUn1w-Sn63K4kLIOo_dE0yXU0E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4dUn1w-Sn63K4kLIOo_dE0yXU0E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4dUn1w-Sn63K4kLIOo_dE0yXU0E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/7qVmEuFsJVE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/6251654599701715209/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=6251654599701715209" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/6251654599701715209?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/6251654599701715209?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/7qVmEuFsJVE/inversion-of-control-ioc-alternative-to.html" title="Inversion of Control (Ioc) alternative to spring" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/11/inversion-of-control-ioc-alternative-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcNSXg7cSp7ImA9WxNUGEs.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-3798049859546045557</id><published>2009-11-10T14:24:00.001Z</published><updated>2009-11-10T14:24:58.609Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-10T14:24:58.609Z</app:edited><title>Reading files into byte[]</title><content type="html">Thought I'd share this: &lt;a href="http://www.yoda.arachsys.com/csharp/readbinary.html"&gt;http://www.yoda.arachsys.com/csharp/readbinary.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-3798049859546045557?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YoSaSS98tyenYJvfaq5ollY347w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YoSaSS98tyenYJvfaq5ollY347w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YoSaSS98tyenYJvfaq5ollY347w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YoSaSS98tyenYJvfaq5ollY347w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/OfwMCeRxCsQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/3798049859546045557/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=3798049859546045557" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3798049859546045557?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3798049859546045557?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/OfwMCeRxCsQ/reading-files-into-byte.html" title="Reading files into byte[]" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/11/reading-files-into-byte.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8GRXk9eyp7ImA9WxNUFU8.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-4870410787318206284</id><published>2009-11-06T16:27:00.000Z</published><updated>2009-11-06T16:27:04.763Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-06T16:27:04.763Z</app:edited><title>Some cool JS stuff from google</title><content type="html">Google has open sourced some of their internal tools for JavaScript development, which they are calling "Closure".&lt;br /&gt;
&lt;br /&gt;
You can find more details &lt;a href="http://googlecode.blogspot.com/2009/11/introducing-closure-tools.html"&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I particularly like their compression tool &lt;a href="http://closure-compiler.appspot.com/home"&gt;Closure Compiler&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-4870410787318206284?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/v2WpDxg_lEiikcJtgBRkEoRzqcw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v2WpDxg_lEiikcJtgBRkEoRzqcw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/v2WpDxg_lEiikcJtgBRkEoRzqcw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v2WpDxg_lEiikcJtgBRkEoRzqcw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/jLiQKTwlhxc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/4870410787318206284/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=4870410787318206284" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/4870410787318206284?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/4870410787318206284?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/jLiQKTwlhxc/some-cool-js-stuff-from-google.html" title="Some cool JS stuff from google" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/11/some-cool-js-stuff-from-google.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEEQnYyfip7ImA9WxNUFE8.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-8192031382587118612</id><published>2009-11-05T12:36:00.000Z</published><updated>2009-11-05T12:36:43.896Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-05T12:36:43.896Z</app:edited><title>Getting Toad 9.7.2.5 to work on x64 XP machine</title><content type="html">Once you've installed Toad into C:\Program Files (x86)\, then copy the entire Quest Software directory from C:\Program Files (x86)\Quest Software to C:\Program Files\Quest Software&lt;br /&gt;
&lt;br /&gt;
Lastly create a desktop short cut to C:\Program Files\Quest Software\Toad for Oracle\toad.exe&lt;br /&gt;
&lt;br /&gt;
Toad should then work correctly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-8192031382587118612?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Hkiye-lJGaQGmJmREatCDXLE4YQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Hkiye-lJGaQGmJmREatCDXLE4YQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Hkiye-lJGaQGmJmREatCDXLE4YQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Hkiye-lJGaQGmJmREatCDXLE4YQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/qjcFqIqf8k0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/8192031382587118612/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=8192031382587118612" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/8192031382587118612?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/8192031382587118612?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/qjcFqIqf8k0/getting-toad-9725-to-work-on-x64-xp.html" title="Getting Toad 9.7.2.5 to work on x64 XP machine" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/11/getting-toad-9725-to-work-on-x64-xp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEDRXg4fip7ImA9WxNUFE8.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-4935744756501769907</id><published>2009-11-05T12:30:00.002Z</published><updated>2009-11-05T12:37:54.636Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-05T12:37:54.636Z</app:edited><title>How to get ASP.NET 2.0 app on an x64 development machine to work with Oracle 10.2.0.2 32 bit client</title><content type="html">I had a problem where I got a new machine. My previous workstation was XP 32bit OS, and my new machine was XP 64bit. I had installed the 32bit client, and the ODP.NET data access components, but was still getting the error:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ORA-12154: TNS:could not resolve the connect identifier specified&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Even though the tnsnames.ora and sqlnet.ora files were 100% correct. I then came upon these two URL's:&lt;br /&gt;
&lt;br /&gt;
1.&lt;a href="http://www.oracle.com/technology/tech/dotnet/col/odt_faq.html"&gt;http://www.oracle.com/technology/tech/dotnet/col/odt_faq.html&lt;/a&gt; (search for ORA-12154)&lt;br /&gt;
2.&lt;a href="http://joeydotnet.com/blog/archive/2007/01/24/19.aspx"&gt;http://joeydotnet.com/blog/archive/2007/01/24/19.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
After that I create a metalink oracle account and my manager authorised it. I then download this patch:&lt;br /&gt;
&lt;br /&gt;
10.2.0.1.0 Patch 6 (10.2.0.1.6P)  32-Bit Patch 5059238. URL: &lt;a href="http://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=5239698"&gt;http://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=5239698&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
After unzipping it I made a backup of C:\oracle\product\10.2.0\client_1\bin and then copied the patch files (p5059238_10201_WINNT\5059238\files\bin) into the bin folder and overwrote the dll's already in the client bin folder&lt;br /&gt;
&lt;br /&gt;
Then fired up VS 2008 and executed my web app locally and it all worked.&lt;br /&gt;
&lt;br /&gt;
Let's hope this helps some others.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-4935744756501769907?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1vsdehPCXYXxGLf2sFoR2KfsTsY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1vsdehPCXYXxGLf2sFoR2KfsTsY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1vsdehPCXYXxGLf2sFoR2KfsTsY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1vsdehPCXYXxGLf2sFoR2KfsTsY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/KP1bmBqNvmo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/4935744756501769907/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=4935744756501769907" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/4935744756501769907?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/4935744756501769907?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/KP1bmBqNvmo/how-to-get-aspnet-20-app-on-x64.html" title="How to get ASP.NET 2.0 app on an x64 development machine to work with Oracle 10.2.0.2 32 bit client" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/11/how-to-get-aspnet-20-app-on-x64.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcDRnY4eip7ImA9WxNVGEQ.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-5353547675507688362</id><published>2009-10-30T09:47:00.002Z</published><updated>2009-10-30T09:47:57.832Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-30T09:47:57.832Z</app:edited><title>Remember classes used in a workflow must be marked as Serializable</title><content type="html">Silly mistake but I got this error the other day: &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Event A on interface type B  for instance id C  cannot be delivered&lt;/blockquote&gt;&lt;br /&gt;
&lt;a href="http://wiki.windowsworkflowfoundation.eu/default.aspx/WF/EventDeliveryFailedException.html"&gt;This post&lt;/a&gt; reminded me to mark classes as serializable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-5353547675507688362?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/v7tFhV16fKTdTJCejIKpm0MxRqU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v7tFhV16fKTdTJCejIKpm0MxRqU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/v7tFhV16fKTdTJCejIKpm0MxRqU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v7tFhV16fKTdTJCejIKpm0MxRqU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/7x-1VLsLTAw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/5353547675507688362/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=5353547675507688362" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/5353547675507688362?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/5353547675507688362?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/7x-1VLsLTAw/remember-classes-used-in-workflow-must.html" title="Remember classes used in a workflow must be marked as Serializable" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/10/remember-classes-used-in-workflow-must.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcNR3c6eyp7ImA9WxNVGEw.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-5975378678084398119</id><published>2009-10-29T11:01:00.000Z</published><updated>2009-10-29T11:01:36.913Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-29T11:01:36.913Z</app:edited><title>It's been a while</title><content type="html">I've not used this blog for sometime now. Been busy working to hard. and I've just not had the time to add anything recently.&lt;br /&gt;
&lt;br /&gt;
That's about to change! &lt;br /&gt;
&lt;br /&gt;
Personally I'd like to keep this blog updated at least once a day. The info I'll publish will be about software development, using agile methods, and anything else that I think may be interesting.&lt;br /&gt;
&lt;br /&gt;
Hopefully within a few months this blog may become a useful reference for myself and more importantly to others who find my posts interesting, so please feel free to leave comments.&lt;br /&gt;
&lt;br /&gt;
Until next time...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-5975378678084398119?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/bYA78lKO056frdyXJX-kS9g0OVQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bYA78lKO056frdyXJX-kS9g0OVQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/bYA78lKO056frdyXJX-kS9g0OVQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bYA78lKO056frdyXJX-kS9g0OVQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/4MK1ZzVeXmk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/5975378678084398119/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=5975378678084398119" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/5975378678084398119?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/5975378678084398119?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/4MK1ZzVeXmk/its-been-while.html" title="It's been a while" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/10/its-been-while.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUFSXYycCp7ImA9WxVWFEo.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-3713199706717305393</id><published>2009-02-24T11:10:00.003Z</published><updated>2009-02-24T11:16:58.898Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-24T11:16:58.898Z</app:edited><title>Outlook inbox spamed to many messages</title><content type="html">Left log4net smtpappender on when I went on leave for a week. Unfortunately the system went wrong and I now have a couple of GIG's of data being downloaded into my inbox, which through Outlook is incredibly slow.&lt;br /&gt;&lt;br /&gt;I set-up a rule to move the problem messages into deleted items, and I've also changed the "Connected to Microsoft Exchange" to only download headers. This seems to have sped up the influx of messages into my inbox, so that I can eventually delete them.&lt;br /&gt;&lt;br /&gt;Very frustrating. Not sure if there is any other way to stop Outlook from downloading to much data. Any comments would be appreciated.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-3713199706717305393?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tJdGRQmCJduyw0OkSkxrouh2i5U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tJdGRQmCJduyw0OkSkxrouh2i5U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tJdGRQmCJduyw0OkSkxrouh2i5U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tJdGRQmCJduyw0OkSkxrouh2i5U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/bfC19OsOffA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/3713199706717305393/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=3713199706717305393" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3713199706717305393?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3713199706717305393?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/bfC19OsOffA/outlook-inbox-spamed-to-many-messages.html" title="Outlook inbox spamed to many messages" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2009/02/outlook-inbox-spamed-to-many-messages.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUMRXo7cSp7ImA9WxRbF0o.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-514367808186688541</id><published>2008-12-08T21:02:00.002Z</published><updated>2008-12-08T21:04:44.409Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-08T21:04:44.409Z</app:edited><title>Free subversion hosting</title><content type="html">Found this cool website that allows you host up to 5 svn repositories, and supports xp agile project management.&lt;br /&gt;&lt;br /&gt;The site is &lt;a href="http://www.xp-dev.com"&gt;http://www.xp-dev.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-514367808186688541?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7X2FmzPXxOQjoFoiZdl3zhqJsd0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7X2FmzPXxOQjoFoiZdl3zhqJsd0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7X2FmzPXxOQjoFoiZdl3zhqJsd0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7X2FmzPXxOQjoFoiZdl3zhqJsd0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/Y9ItuKy3P_o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/514367808186688541/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=514367808186688541" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/514367808186688541?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/514367808186688541?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/Y9ItuKy3P_o/free-subversion-hosting.html" title="Free subversion hosting" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2008/12/free-subversion-hosting.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkICRH85fCp7ImA9Wx5WGUs.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-8468061033984505445</id><published>2008-11-27T17:12:00.004Z</published><updated>2010-10-01T21:22:45.124+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-01T21:22:45.124+01:00</app:edited><title>Convert XML to a DataSet and visa versa in C#</title><content type="html">Simple... but for my own reference:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp"&gt;/// &lt;summary&gt;
/// Convert the xml string into a DataSet object
/// &lt;/summary&gt;
/// &lt;param name="xml"&gt;The xml string to convert&lt;/param&gt;
/// &lt;returns&gt;The DataSet instance&lt;/returns&gt;
public DataSet ConvertXmlToDataSet(string xml)
{
using (StringReader reader = new StringReader(xml))
{
using (XmlTextReader xmlReader = new XmlTextReader(reader))
{
DataSet dataSet = new DataSet();
dataSet.ReadXml(xmlReader);
return dataSet;
}
}
}

/// &lt;summary&gt;
/// Converts a DataSet into an xml string representation
/// &lt;/summary&gt;
/// &lt;param name="dataSet"&gt;The DataSet to convert&lt;/param&gt;
/// &lt;returns&gt;The xml string representation of the DataSet&lt;/returns&gt;
public string ConvertDataSetToXml(DataSet dataSet)
{
using (StringWriter writer = new StringWriter())
{
using (XmlTextWriter xmlTextWriter = new XmlTextWriter(writer))
{
dataSet.WriteXml(xmlTextWriter);
return writer.ToString();
}
}
}
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-8468061033984505445?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tafA0mo_e7zdUoYuvUhDcYKB6nA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tafA0mo_e7zdUoYuvUhDcYKB6nA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tafA0mo_e7zdUoYuvUhDcYKB6nA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tafA0mo_e7zdUoYuvUhDcYKB6nA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/O5_UiIu8sKE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/8468061033984505445/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=8468061033984505445" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/8468061033984505445?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/8468061033984505445?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/O5_UiIu8sKE/convert-xml-to-dataset-and-visa-versa.html" title="Convert XML to a DataSet and visa versa in C#" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2008/11/convert-xml-to-dataset-and-visa-versa.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4EQ38-cSp7ImA9WxRVEEg.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-4084488566194624726</id><published>2008-11-07T10:44:00.002Z</published><updated>2008-11-07T10:48:22.159Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-07T10:48:22.159Z</app:edited><title>JQuery and ASP.NET Ajax ready and pageLoad Solution</title><content type="html">I had a problem the other day with the JQuery ready function not firing on an Aspc post back. I found &lt;a href="http://imak47.wordpress.com/2008/10/18/jquery-effects-not-working-after-updatepanel-asynchronous-request-is-over/#comment-87"&gt;this useful article&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The problem seems to be that the jQuery ready function is not called on an async postback. The pageLoad() ASP.NET ajax method is called however.&lt;br /&gt;&lt;br /&gt;It seems that ASP.NET ajax and jQuery don’t get along together when it comes to the DOM load event, and ASP.NET ajax takes preference to the jQuery ready function.&lt;br /&gt;&lt;br /&gt;So in short replace all jQuery: $(document).ready() instances in your code with function pageLoad(). This I think is a more elegant solution then intercepting the end_request event and altering the master page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-4084488566194624726?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YZJvRiGm6-ibDcbkQJgJYlbLlcs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YZJvRiGm6-ibDcbkQJgJYlbLlcs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YZJvRiGm6-ibDcbkQJgJYlbLlcs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YZJvRiGm6-ibDcbkQJgJYlbLlcs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/qzEk0g6f83k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/4084488566194624726/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=4084488566194624726" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/4084488566194624726?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/4084488566194624726?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/qzEk0g6f83k/jquery-and-aspnet-ajax-ready-and.html" title="JQuery and ASP.NET Ajax ready and pageLoad Solution" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2008/11/jquery-and-aspnet-ajax-ready-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04BQ38yeCp7ImA9Wx5WGUg.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-4700917413575074596</id><published>2008-11-05T14:16:00.004Z</published><updated>2010-10-01T20:05:52.190+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-01T20:05:52.190+01:00</app:edited><title>Generic function to obtain data from a DataRow</title><content type="html">Sometimes it may be useful to have one generic function that can parse data from a DataRow column into the type you require. &lt;br /&gt;
&lt;br /&gt;
For example: Perhaps you have an Employee object with the properties Id, Name and Salary, of types int, string and decimal.&lt;br /&gt;
&lt;br /&gt;
Here is an example of some code to populate a list of Employee objects using a generic function.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: csharp"&gt;public void LoadData()
{
IList&lt;employee&gt; employees = new List&lt;employee&gt;();
DataTable result = // Get data from SP
foreach (DataRow row in result.Rows)
{
Employee employee = new Employee();
employee.Id = GetColumnData&amp;lt;int&amp;gt;("EMP_ID", row, null);
employee.Name = GetColumnData&amp;lt;string&amp;gt;("EMP_NAME", row, "Unknown");
employee.Salary = GetColumnData&amp;lt;decimal&amp;gt;("EMP_SALARY", row, null);
employees.Add(employee);
}
}

/// &lt;summary&gt;
/// Gets data from a column checks it can convert it correctly if no data or invalid casting the default
/// value is returned
/// &lt;/summary&gt;
/// &lt;typeparam name="T"&gt;The type of data to convert too&lt;/typeparam&gt;
/// &lt;param name="columnName"&gt;The name of the column in the row&lt;/param&gt;
/// &lt;param name="row"&gt;The row containing the data&lt;/param&gt;
/// &lt;param name="defaultValue"&gt;The default value&lt;/param&gt;
/// &lt;returns&gt;The data or the default value&lt;/returns&gt;
public static T GetColumnData&amp;lt;T&amp;gt;(string columnName, DataRow row, object defaultValue)
{
if (row.Table.Columns.Contains(columnName) &amp;&amp; row[columnName] != DBNull.Value)
{
string value = row[columnName].ToString();
TypeConverter converter = TypeDescriptor.GetConverter(typeof(T));
object result = converter.ConvertFromString(value);
try
{
return (T)result;
}
catch (InvalidCastException)
{
return (T)defaultValue;
}
}
else
{
return (T)defaultValue;
}
}
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-4700917413575074596?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FByC8WCXVw41GkapyFK5yp1teao/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FByC8WCXVw41GkapyFK5yp1teao/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FByC8WCXVw41GkapyFK5yp1teao/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FByC8WCXVw41GkapyFK5yp1teao/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/3qvJpW1trPY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/4700917413575074596/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=4700917413575074596" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/4700917413575074596?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/4700917413575074596?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/3qvJpW1trPY/generic-function-to-obtain-data-from.html" title="Generic function to obtain data from a DataRow" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2008/11/generic-function-to-obtain-data-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcCSHc6fSp7ImA9WxRWF04.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-761994354126670477</id><published>2008-11-03T17:22:00.003Z</published><updated>2008-11-03T17:24:29.915Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-03T17:24:29.915Z</app:edited><title>TryParse functionality on Generic objects</title><content type="html">&lt;a href="http://johnnliu.spaces.live.com/Blog/cns!90A843AB92E99F!255.entry"&gt;John Liu&lt;/a&gt; has a nice code snippet on implementing the TryParse functionality on generic objects.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-761994354126670477?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lh9O1OR2_9doJDMhC3Ef6EV0W6A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lh9O1OR2_9doJDMhC3Ef6EV0W6A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lh9O1OR2_9doJDMhC3Ef6EV0W6A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lh9O1OR2_9doJDMhC3Ef6EV0W6A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/G7pF0IvKq4k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/761994354126670477/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=761994354126670477" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/761994354126670477?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/761994354126670477?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/G7pF0IvKq4k/tryparse-functionality-on-generic.html" title="TryParse functionality on Generic&lt;T&gt; objects" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2008/11/tryparse-functionality-on-generic.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4DR3k6eyp7ImA9Wx5WGUs.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-1030463250692246478</id><published>2008-10-31T15:07:00.010Z</published><updated>2010-10-01T21:29:36.713+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-01T21:29:36.713+01:00</app:edited><title>Using JavaScript or C# to calculate feet and inches to metres and visa versa</title><content type="html">Here are some code snippets for JavaScript and C# that show how to convert from say for example 26' 5" into metres 8.05m. The snippets also show converting metres to foot and inches.;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;HTML:&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="brush: html"&gt;&amp;lt;input id="feet" type="text" onkeyup="calculate 'feet')" /&amp;gt; '
&amp;lt;input id="inches" type="text" onkeyup="calculate('inches')" /&amp;gt; "
&amp;lt;input id="metres" type="text" onkeyup="calculate('metres')" /&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;strong&gt;JavaScript:&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="brush: js"&gt;&amp;lt;script type="text/javascript"&amp;gt;
function calculate(src) {
switch (src) {
case feetCtrl:
calculateFeetAndInchesToMetres();
break;
case inchesCtrl:
calculateFeetAndInchesToMetres();
break;
case metresCtrl:
calculateMetresToFeetAndInches();
break;
}
}

function calculateFeetAndInchesToMetres() {
var feet = $get("feet").value;
var inches = $get("inches").value;
var totalInches = feet * 12;
totalInches = totalInches + (inches * 1);
var cm = totalInches * 2.54;
var metres = cm / 100;
$get("metres").value = metres.toFixed(2);
}

function calculateMetresToFeetAndInches() {
var metres = $get("metres").value;
var metreInches = metres * 39.370078740157477;
$get("feet").value = Math.floor(metreInches / 12);
$get("inches").value = Math.floor(metreInches % 12);
}
&amp;lt;/script&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;strong&gt;Same functionality in C#&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="brush: csharp"&gt;/// &lt;summary&gt;
/// Gets the feet and inches representation of a metric value
/// &lt;/summary&gt;
/// &lt;param name="metres"&gt;The metres to use&lt;/param&gt;
/// &lt;returns&gt;The correct display string&lt;/returns&gt;
public static string GetFeetAndInches(double metres)
{
Hashtable values = GetFeetAndInchesValues(metres);
double feet = (double)values["Feet"];
int inches = (int)values["Inches"];
StringBuilder result = new StringBuilder();
string feetText = feet.ToString();
string[] data = feetText.Split('.');
if (data.Length &gt; 0)
{
feetText = data[0];
}
result.Append(feetText);
result.Append("'");
if (inches &gt; 0)
{
result.Append(" ");
result.Append(inches);
result.Append("\"");
}

return result.ToString();
}

/// &lt;summary&gt;
/// Gets the feet and inches of a metric value
/// &lt;/summary&gt;
/// &lt;param name="metres"&gt;The metres to use&lt;/param&gt;
/// &lt;returns&gt;An array of feet, inches&lt;/returns&gt;
public static Hashtable GetFeetAndInchesValues(double metres)
{
Hashtable result = new Hashtable();
double metreInches = metres * MetreToInchesRatio;
double feet = metreInches / 12;
int inches = Convert.ToInt32(metreInches % 12);
result.Add("Feet", feet);
result.Add("Inches", inches);

return result;
}

/// &lt;summary&gt;
/// Gets the metre equivalent of feet and inches combination
/// &lt;/summary&gt;
/// &lt;param name="feet"&gt;The foot value&lt;/param&gt;
/// &lt;param name="inches"&gt;The inches value&lt;/param&gt;
/// &lt;returns&gt;The metre value&lt;/returns&gt;
public static double GetMetresFromFeetAndInches(double feet, int inches)
{
// Sourced from: http://sg.answers.yahoo.com/question/index?qid=20070403095853AA3FKJZ
double totalInches = feet * 12;
totalInches += inches;
double cm = totalInches * 2.54;
double metres = cm / 100;

return metres;
}
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-1030463250692246478?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yvgBpL_v6B3ElKi8gROrEdQkjXM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yvgBpL_v6B3ElKi8gROrEdQkjXM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yvgBpL_v6B3ElKi8gROrEdQkjXM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yvgBpL_v6B3ElKi8gROrEdQkjXM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/tpfIT5WcTmE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/1030463250692246478/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=1030463250692246478" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/1030463250692246478?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/1030463250692246478?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/tpfIT5WcTmE/testing-highlighter.html" title="Using JavaScript or C# to calculate feet and inches to metres and visa versa" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2008/10/testing-highlighter.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QDQ3Y_eip7ImA9WxRQFEo.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-3344695435028548396</id><published>2008-10-08T15:51:00.000+01:00</published><updated>2008-10-08T16:22:52.842+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-08T16:22:52.842+01:00</app:edited><title>Got this error: syntax error. _getAbbrMonthIndex using auto complete extender</title><content type="html">All the solutions I searched for suggested there was an error with my JavaScript or code. They were right!&lt;br /&gt;&lt;br /&gt;My problem rose because I had a control on a page which had a script manager proxy control and a bunch of autocompleteextender control's, these extender controls used a scriptpath that pointed to a static web method (page method) on the page that retrieved the nessacary data.&lt;br /&gt;&lt;br /&gt;The error arose becuase I was adding to my script manager proxy class a reference to the same page method programtically in the page load method. Anyway removing the programatic inclusion to the script manager solved the problem.&lt;br /&gt;&lt;br /&gt;Thought this may help others debug any similar scenarios.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-3344695435028548396?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nCSOBK2qufOkZ_gAAgswiy_vPIU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nCSOBK2qufOkZ_gAAgswiy_vPIU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nCSOBK2qufOkZ_gAAgswiy_vPIU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nCSOBK2qufOkZ_gAAgswiy_vPIU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/EG9WLn_R0Xw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/3344695435028548396/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=3344695435028548396" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3344695435028548396?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/3344695435028548396?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/EG9WLn_R0Xw/got-this-error-syntax-error.html" title="Got this error: syntax error. _getAbbrMonthIndex using auto complete extender" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2008/10/got-this-error-syntax-error.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cBQX44fip7ImA9Wx5WGUs.&quot;"><id>tag:blogger.com,1999:blog-80692404663002842.post-2081645184324790904</id><published>2008-10-01T12:46:00.007+01:00</published><updated>2010-10-01T21:30:50.036+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-01T21:30:50.036+01:00</app:edited><title>Export to Excel using ASP.NET</title><content type="html">I wanted to create a very simple excel export, from an asp.net 2.0 web application, that would take data and display it somewhat like this:&lt;br /&gt;
&lt;br /&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XKxO4g9d6Pw/SONlXoehxjI/AAAAAAAAANE/T9tXUEpq9WM/s1600-h/Excel_Export.PNG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_XKxO4g9d6Pw/SONlXoehxjI/AAAAAAAAANE/T9tXUEpq9WM/s400/Excel_Export.PNG" alt="" id="BLOGGER_PHOTO_ID_5252153047120987698" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I used the following C# code. Which can be place within a LinkButton, or Button click event handler:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: c-sharp"&gt;byte[] data = Encoding.UTF8.GetBytes("&lt;table&gt;&lt;tr&gt;&lt;th&gt;Column 1&lt;/th&gt;&lt;th&gt;Column 2&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Data 1&lt;/td&gt;&lt;td&gt;Data 2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Data 3&lt;/td&gt;&lt;td&gt;Data 4&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;");
Response.Clear();
Response.ClearHeaders();
Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("content-disposition", "filename=test.xls");
Response.BinaryWrite(data);
Response.End();
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
As you can see I've used an HTML table as the source of the data. You can also style this and Excel will display it correctly using any CSS you provide.&lt;br /&gt;
&lt;br /&gt;
The name of the file is also set to &lt;span style="color: rgb(204, 0, 0);"&gt;"test.xls"&lt;/span&gt; using the header content-disposition.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/80692404663002842-2081645184324790904?l=denham-mccall.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cSX36daku0Z5Am3UPf3pB7XeSZQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cSX36daku0Z5Am3UPf3pB7XeSZQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cSX36daku0Z5Am3UPf3pB7XeSZQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cSX36daku0Z5Am3UPf3pB7XeSZQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/DenhamMccall/~4/SQi2ykVIe00" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://denham-mccall.blogspot.com/feeds/2081645184324790904/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=80692404663002842&amp;postID=2081645184324790904" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/2081645184324790904?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/80692404663002842/posts/default/2081645184324790904?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DenhamMccall/~3/SQi2ykVIe00/export-to-excel-using-aspnet.html" title="Export to Excel using ASP.NET" /><author><name>dnoxs</name><uri>http://www.blogger.com/profile/17541495960305702366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_XKxO4g9d6Pw/Sul5wLd8M6I/AAAAAAAAAT0/wO9l0qbsI8E/S220/Levis.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_XKxO4g9d6Pw/SONlXoehxjI/AAAAAAAAANE/T9tXUEpq9WM/s72-c/Excel_Export.PNG" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://denham-mccall.blogspot.com/2008/10/export-to-excel-using-aspnet.html</feedburner:origLink></entry></feed>

