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

<channel>
	<title>My Programming QQ Blog</title>
	<atom:link href="http://nickturner.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nickturner.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 20 May 2011 14:21:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='nickturner.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My Programming QQ Blog</title>
		<link>http://nickturner.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nickturner.wordpress.com/osd.xml" title="My Programming QQ Blog" />
	<atom:link rel='hub' href='http://nickturner.wordpress.com/?pushpress=hub'/>
		<item>
		<title>iLuv Flexi Cases &#8211; Where the hell are they!</title>
		<link>http://nickturner.wordpress.com/2010/06/17/iluv-flexi-cases-where-the-hell-are-they/</link>
		<comments>http://nickturner.wordpress.com/2010/06/17/iluv-flexi-cases-where-the-hell-are-they/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 12:00:19 +0000</pubDate>
		<dc:creator>nick5454</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[backorder]]></category>
		<category><![CDATA[Caase]]></category>
		<category><![CDATA[iLuv]]></category>
		<category><![CDATA[Out of Stock]]></category>

		<guid isPermaLink="false">http://nickturner.wordpress.com/?p=73</guid>
		<description><![CDATA[So based on reviews and thier own blog the Flexi IPad cases are great. But, I would know because mine has been on backorder at Target for 30 days now. Tried to troll iLuv to get the lead out, but thier customer support is awful. Hurry up iLuv or I&#8217;ll have to go with another [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=73&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So based on reviews and thier own blog the Flexi IPad cases are great.</p>
<p>But, I would know because mine has been on backorder at Target for 30 days now. Tried to troll iLuv to get the lead out, but thier customer support is awful.</p>
<p>Hurry up iLuv or I&#8217;ll have to go with another company&#8217;s case</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nickturner.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nickturner.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nickturner.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nickturner.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nickturner.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nickturner.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nickturner.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nickturner.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nickturner.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nickturner.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nickturner.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nickturner.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nickturner.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nickturner.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=73&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nickturner.wordpress.com/2010/06/17/iluv-flexi-cases-where-the-hell-are-they/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac8b4cbe9732d0e29e4c7852ad5bbbf5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nick5454</media:title>
		</media:content>
	</item>
		<item>
		<title>Is Avatar:The Last Airbender Racist</title>
		<link>http://nickturner.wordpress.com/2010/06/12/is-avatarthe-last-airbender-racist/</link>
		<comments>http://nickturner.wordpress.com/2010/06/12/is-avatarthe-last-airbender-racist/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 14:55:54 +0000</pubDate>
		<dc:creator>nick5454</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nickturner.wordpress.com/?p=70</guid>
		<description><![CDATA[I watch Avatar: The Last Airbender with my son a lot. In fact we have the last season dvd. It&#8217;s based on Asian culture and I believe buddhism. Everyone is obviously Oriental and I believe the Fire Nation is more Mongolian. Which makes the show cool. And it&#8217;s pretty cool. It&#8217;s an alright show with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=70&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I watch Avatar: The Last Airbender with my son a lot. In fact we have the last season dvd.</p>
<p>It&#8217;s based on Asian culture and I believe buddhism. Everyone is obviously Oriental and I believe the Fire Nation is more Mongolian. Which makes the show cool. And it&#8217;s pretty cool. It&#8217;s an alright show with a very good story and excellent morals.</p>
<p>But, when I saw the previews everyone was a cracker! That&#8217;s a white country boy, if you don&#8217;t know.</p>
<p>I think this ruined the entire story. One thing that was great about Avatar was it stayed true to the culture it represented. But, since Hollywood turns it into another whitey saves the world campaign. I seriously doubt I&#8217;m going to take my son to see it. It just seems way too fake now. In fact he chose Karate Kid over Avatar, which is odd since he watches Avatar 24&#215;7.</p>
<p>You can visit <a href="http://www.racebending.com">Racebending</a> if you feel really hurt about this. I&#8217;m not extremely upset, because I didn&#8217;t expect much, seeing the director has a habit of ruining movies. But, the nostalgia of the movie is completely gone. I&#8217;m sure it will do well, but the movie is ruined. I won&#8217;t be seeing it.</p>
<p>If you can convey your thoughts about this intelligently and your not going to advertise race propoganda then comment. I&#8217;d like to hear about it.</p>
<p>Nick</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nickturner.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nickturner.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nickturner.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nickturner.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nickturner.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nickturner.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nickturner.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nickturner.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nickturner.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nickturner.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nickturner.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nickturner.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nickturner.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nickturner.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=70&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nickturner.wordpress.com/2010/06/12/is-avatarthe-last-airbender-racist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac8b4cbe9732d0e29e4c7852ad5bbbf5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nick5454</media:title>
		</media:content>
	</item>
		<item>
		<title>Draw a circle at a MSChart DataPoint</title>
		<link>http://nickturner.wordpress.com/2010/04/30/draw-a-circle-at-a-mschart-datapoint/</link>
		<comments>http://nickturner.wordpress.com/2010/04/30/draw-a-circle-at-a-mschart-datapoint/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 14:32:51 +0000</pubDate>
		<dc:creator>nick5454</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[MSChart]]></category>
		<category><![CDATA[.NET Grid]]></category>
		<category><![CDATA[AxisName]]></category>
		<category><![CDATA[AxisX]]></category>
		<category><![CDATA[AxisY]]></category>
		<category><![CDATA[BindingSource]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Chart]]></category>
		<category><![CDATA[ChartGraphics]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[Convert]]></category>
		<category><![CDATA[DataBind]]></category>
		<category><![CDATA[DataPoint]]></category>
		<category><![CDATA[DateTime]]></category>
		<category><![CDATA[Domain Model]]></category>
		<category><![CDATA[DrawEllipse]]></category>
		<category><![CDATA[DropDown]]></category>
		<category><![CDATA[Dundas]]></category>
		<category><![CDATA[Exception]]></category>
		<category><![CDATA[GetAbsolutePoint]]></category>
		<category><![CDATA[GetPositionFromAxis]]></category>
		<category><![CDATA[Null]]></category>
		<category><![CDATA[Nullable]]></category>
		<category><![CDATA[Paint]]></category>
		<category><![CDATA[Points]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Rectangle]]></category>
		<category><![CDATA[Series]]></category>
		<category><![CDATA[State]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[VisualBasic]]></category>
		<category><![CDATA[VS.NET]]></category>
		<category><![CDATA[VS2003]]></category>
		<category><![CDATA[VS2005]]></category>
		<category><![CDATA[VS2008]]></category>
		<category><![CDATA[Web Application]]></category>

		<guid isPermaLink="false">http://nickturner.wordpress.com/?p=63</guid>
		<description><![CDATA[So I went through the horrible agony of figuring this out. The examples while showing info, didn&#8217;t really accomplish what I needed. I wanted to show a custom circle at each DataPoint. So here&#8217;s the Post Paint event to draw them public const int DEFAULT_ELLIPSE_SIZE = 8; protected void Page_Load(object sender, EventArgs e) { Chart1.PostPaint [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=63&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I went through the horrible agony of figuring this out. The examples while showing info, didn&#8217;t really accomplish what I needed.</p>
<p>I wanted to show a custom circle at each DataPoint.</p>
<p>So here&#8217;s the Post Paint event to draw them</p>
<p><code><br />
public const int DEFAULT_ELLIPSE_SIZE = 8;</p>
<p> protected void Page_Load(object sender, EventArgs e)<br />
        {<br />
            Chart1.PostPaint += new EventHandler(Chart1_PostPaint);<br />
        }</p>
<p>        void Chart1_PostPaint(object sender, ChartPaintEventArgs e)<br />
        {<br />
            if (e.ChartElement is Series)<br />
            {<br />
                Series currentSeries = e.ChartElement as Series;</p>
<p>                if (currentSeries != null &amp;&amp; currentSeries.Name == "Total Savings")<br />
                {<br />
                    // Get Graphics object from chart<br />
                    Graphics graph = e.ChartGraphics.Graphics;<br />
                    int index = 1;</p>
<p>                    foreach( DataPoint dataPoint in currentSeries.Points )<br />
                    {<br />
                        float pixelYMax = (float)e.ChartGraphics.GetPositionFromAxis("Default", AxisName.Y, dataPoint.YValues[0]);<br />
                        float pixelXMax = (float)e.ChartGraphics.GetPositionFromAxis("Default", AxisName.X, index++);</p>
<p>                        PointF point1 = PointF.Empty;<br />
                        PointF point2 = PointF.Empty;</p>
<p>                        // Set Maximum and minimum points<br />
                        point1.X = pixelXMax;<br />
                        point1.Y = pixelYMax;</p>
<p>                        point1 = e.ChartGraphics.GetAbsolutePoint(point1);<br />
                        SolidBrush solidBrush = new SolidBrush(Color.FromArgb(249, 186,37));<br />
                        graph.FillEllipse(solidBrush, new Rectangle((int)point1.X - (DEFAULT_ELLIPSE_SIZE / 2), (int)point1.Y - (DEFAULT_ELLIPSE_SIZE / 2), DEFAULT_ELLIPSE_SIZE, DEFAULT_ELLIPSE_SIZE));<br />
                        graph.DrawEllipse(new Pen(Color.FromArgb(218, 143, 63)), new Rectangle((int)point1.X - (DEFAULT_ELLIPSE_SIZE / 2), (int)point1.Y - (DEFAULT_ELLIPSE_SIZE / 2), DEFAULT_ELLIPSE_SIZE, DEFAULT_ELLIPSE_SIZE));</p>
<p>                    }</p>
<p>                }<br />
            }<br />
        }<br />
</code><br />
I iterate through each data point and draw it. Pretty basic. Works in Dundas too. Good luck getting an answer in thier forums. I went from Dundas to MSChart fast because of the lack of easy forum questions being answered.</p>
<p>Hope this helps,<br />
Nick</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nickturner.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nickturner.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nickturner.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nickturner.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nickturner.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nickturner.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nickturner.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nickturner.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nickturner.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nickturner.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nickturner.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nickturner.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nickturner.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nickturner.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=63&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nickturner.wordpress.com/2010/04/30/draw-a-circle-at-a-mschart-datapoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac8b4cbe9732d0e29e4c7852ad5bbbf5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nick5454</media:title>
		</media:content>
	</item>
		<item>
		<title>Making an achor appear as a button in outlook email</title>
		<link>http://nickturner.wordpress.com/2010/04/20/making-an-achor-appear-as-a-button-in-outlook-email/</link>
		<comments>http://nickturner.wordpress.com/2010/04/20/making-an-achor-appear-as-a-button-in-outlook-email/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 15:10:31 +0000</pubDate>
		<dc:creator>nick5454</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[anchor]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[enterprise]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Session]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[VS.NET]]></category>
		<category><![CDATA[VS2003]]></category>
		<category><![CDATA[VS2005]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Application]]></category>
		<category><![CDATA[WebApplication]]></category>
		<category><![CDATA[Winforms]]></category>

		<guid isPermaLink="false">http://nickturner.wordpress.com/?p=58</guid>
		<description><![CDATA[One problem I had is that a button in Outlook using the input element is stripped by outlook is most enterprise companies. Damn admins! So I was able to style my anchor to look just like a button Style is: a { outline: 0; margin: 0 2px -2px 0; padding: 0 1em; height: 1.4em; text-decoration: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=58&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One problem I had is that a button in Outlook using the input element is stripped by outlook is most enterprise companies. Damn admins!</p>
<p>So I was able to style my anchor to look just like a button</p>
<p>Style is:<br />
<code>            a {<br />
                outline: 0;<br />
                margin: 0 2px -2px 0;<br />
                padding: 0 1em;<br />
                height: 1.4em;<br />
                text-decoration: none ;<br />
                cursor: pointer;<br />
                position: relative;<br />
                text-align: center;<br />
                top: 0px;<br />
                left: 0px;<br />
                width: 39px;<br />
                background-color: #CCCDFF;<br />
                border: 1px solid #210FC4;<br />
                color: #000000;<br />
                font-family: Verdana;<br />
                padding: 1px 10px 2px 10px;<br />
            }<br />
</code></p>
<p>Anchor ( without GreaterThan / LessThan so it appears ):<br />
<code><br />
&lt; a href="http://www.google.com" &gt; My Anchor too google &lt;/a&gt;<br />
</code></p>
<p>Note: the width can probably be left out.</p>
<p>Hope this helps,<br />
Nick </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nickturner.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nickturner.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nickturner.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nickturner.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nickturner.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nickturner.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nickturner.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nickturner.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nickturner.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nickturner.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nickturner.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nickturner.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nickturner.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nickturner.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=58&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nickturner.wordpress.com/2010/04/20/making-an-achor-appear-as-a-button-in-outlook-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac8b4cbe9732d0e29e4c7852ad5bbbf5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nick5454</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft Refuses to fix Sharepoint workflows in VS2008</title>
		<link>http://nickturner.wordpress.com/2010/04/17/microsoft-refuses-to-fix-sharepoint-workflows-in-vs2008/</link>
		<comments>http://nickturner.wordpress.com/2010/04/17/microsoft-refuses-to-fix-sharepoint-workflows-in-vs2008/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 21:58:54 +0000</pubDate>
		<dc:creator>nick5454</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[64 bit]]></category>
		<category><![CDATA[VS2008]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[WorkFlow]]></category>

		<guid isPermaLink="false">http://nickturner.wordpress.com/?p=56</guid>
		<description><![CDATA[This is for anyone wandering I have Windows 7 64 bit, SharePoint 2007 64 bit, and VS2008 SP1 installed. I try to create a &#8220;SharePoint 2007 Sequential Workflow&#8221;. Microsoft tells me to install a 32 bit OS. Jerks. You can do it using a WSP Builder. They really need to get it together on SharePoint. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=56&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is for anyone wandering</p>
<p>I have Windows 7 64 bit, SharePoint 2007 64 bit, and VS2008 SP1 installed. </p>
<p>I try to create a &#8220;SharePoint 2007 Sequential Workflow&#8221;. Microsoft tells me to install a 32 bit OS. Jerks.</p>
<p>You can do it using a WSP Builder.</p>
<p>They really need to get it together on SharePoint. First they require we program on a VM mode. But with 2007 that is avoidable.</p>
<p>Next they tell us their ready fro 64 bit and go with it.</p>
<p>They make devs wait a year to get extensions for 64 bit.</p>
<p>They they say if you want a workflow forget it, we don&#8217;t care. If you really want it, install a new OS!</p>
<p>I hear the WSP Builder allows a way around it.</p>
<p>Nick</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nickturner.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nickturner.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nickturner.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nickturner.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nickturner.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nickturner.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nickturner.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nickturner.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nickturner.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nickturner.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nickturner.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nickturner.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nickturner.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nickturner.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=56&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nickturner.wordpress.com/2010/04/17/microsoft-refuses-to-fix-sharepoint-workflows-in-vs2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac8b4cbe9732d0e29e4c7852ad5bbbf5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nick5454</media:title>
		</media:content>
	</item>
		<item>
		<title>Date Range Parameters in SSRS</title>
		<link>http://nickturner.wordpress.com/2010/04/14/date-range-parameters-in-ssrs/</link>
		<comments>http://nickturner.wordpress.com/2010/04/14/date-range-parameters-in-ssrs/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 17:55:44 +0000</pubDate>
		<dc:creator>nick5454</dc:creator>
				<category><![CDATA[SSRS]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[DateRange]]></category>
		<category><![CDATA[DateTime]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[Domain Model]]></category>
		<category><![CDATA[Null]]></category>
		<category><![CDATA[Nullable]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Range]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[VS.NET]]></category>
		<category><![CDATA[VS2003]]></category>
		<category><![CDATA[VS2005]]></category>
		<category><![CDATA[VS2008]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WebApplication]]></category>
		<category><![CDATA[Winforms]]></category>

		<guid isPermaLink="false">http://nickturner.wordpress.com/?p=49</guid>
		<description><![CDATA[I&#8217;ve seen a lot of people asking about date ranges in SSRS. I&#8217;ve also seen all kinds of creative ways by adding functions and all kinds of kookie ways to accomplish the tasks. But, there&#8217;s no need for all these hoops when you can just make it inside your where clause like so. And the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=49&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen a lot of people asking about date ranges in SSRS. I&#8217;ve also seen all kinds of creative ways by adding functions and all kinds of kookie ways to accomplish the tasks.</p>
<p>But, there&#8217;s no need for all these hoops when you can just make it inside your where clause like so.</p>
<p><img src="http://nickturner.files.wordpress.com/2010/04/paradatepicture.png?w=497" alt="Date Range Example" /></p>
<p>And the actual where clause:<br />
<code>AND (<br />
  ( @ParamFromDate IS NULL AND  @ParamToDate IS NULL)<br />
    OR<br />
  (CreatedDate &gt; DateAdd(day, -1,@ParamFromDate) AND CreatedDate  DateAdd(day, -1,@ParamFromDate) AND  @ParamToDate IS NULL )<br />
    OR<br />
  ( @ParamFromDate IS NULL AND CreatedDate &lt;  DateAdd(day, 1, @ParamToDate))<br />
)</code></p>
<p>And there you go. I encapuslated the where clause in it&#8217;s own set of paranethesis, so I can add multiple date ranges with paste and I set the Params to Nullable date types.</p>
<p>This allows the following type of customization:<br />
1) Leave both date params blank to see all items in any date range<br />
2) Leave the ending date null to see all items after a starting date<br />
3) Leave the starting date null to see all items before an ending date<br />
4) populate both dates to see items between the starting and ending date</p>
<p>And walla no extra functions to make the report unmaintainable, no extra groups sorts, and just a little clause which is pretty easy to figure out if you know TSQL</p>
<p>Hope this helps,<br />
Nick</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nickturner.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nickturner.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nickturner.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nickturner.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nickturner.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nickturner.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nickturner.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nickturner.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nickturner.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nickturner.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nickturner.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nickturner.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nickturner.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nickturner.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=49&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nickturner.wordpress.com/2010/04/14/date-range-parameters-in-ssrs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac8b4cbe9732d0e29e4c7852ad5bbbf5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nick5454</media:title>
		</media:content>

		<media:content url="http://nickturner.files.wordpress.com/2010/04/paradatepicture.png" medium="image">
			<media:title type="html">Date Range Example</media:title>
		</media:content>
	</item>
		<item>
		<title>Where&#8217;s my iPad!!!</title>
		<link>http://nickturner.wordpress.com/2010/04/03/wheres-my-ipad/</link>
		<comments>http://nickturner.wordpress.com/2010/04/03/wheres-my-ipad/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 01:27:43 +0000</pubDate>
		<dc:creator>nick5454</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://nickturner.wordpress.com/?p=46</guid>
		<description><![CDATA[Man UPS I&#8217;m getting worried I won&#8217;t get my iPad on time. UPS is horrible for Saturday service. And now I hear people receiving emails for Monday? Was Apple out of their minds by choosing a Saturday deploy? Did they not consult the Calendar app on Steve&#8217;s iPhone? I know i&#8217;ll be eating tv dinners [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=46&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Man UPS I&#8217;m getting worried I won&#8217;t get my iPad on time. UPS is horrible for Saturday service. And now I hear people receiving emails for Monday?</p>
<p>Was Apple out of their minds by choosing a Saturday deploy? Did they not consult the Calendar app on Steve&#8217;s iPhone? </p>
<p>I know i&#8217;ll be eating tv dinners all weekend depressed and asking my child &#8220;did you hear a diesel truck? is that the UPS guy&#8221; on Sunday night.</p>
<p>Update: finally got it</p>
<p>Update Again: I absolutely love my ipad&#8230;no longer to view the web do I have to focus my pulling out my laptop, now I can relax, view the web, play games, watch netflix, build documents, update my .net code files, all from wherever I may be at the time. I love Apple! Red Dragons!!!!!<br />
Nick</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nickturner.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nickturner.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nickturner.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nickturner.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nickturner.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nickturner.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nickturner.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nickturner.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nickturner.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nickturner.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nickturner.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nickturner.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nickturner.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nickturner.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=46&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nickturner.wordpress.com/2010/04/03/wheres-my-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac8b4cbe9732d0e29e4c7852ad5bbbf5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nick5454</media:title>
		</media:content>
	</item>
		<item>
		<title>Create Email From aspx page content</title>
		<link>http://nickturner.wordpress.com/2010/03/31/create-email-from-aspx-page-content/</link>
		<comments>http://nickturner.wordpress.com/2010/03/31/create-email-from-aspx-page-content/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 03:27:55 +0000</pubDate>
		<dc:creator>nick5454</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[.NET Grid]]></category>
		<category><![CDATA[Authority]]></category>
		<category><![CDATA[BindingSource]]></category>
		<category><![CDATA[ContentType]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[Convert]]></category>
		<category><![CDATA[DataBind]]></category>
		<category><![CDATA[DateTime]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[Domain Model]]></category>
		<category><![CDATA[DropDown]]></category>
		<category><![CDATA[dynamically]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Exception]]></category>
		<category><![CDATA[HTTPWebMethod]]></category>
		<category><![CDATA[HttpWebResponse]]></category>
		<category><![CDATA[IsBodyHtml]]></category>
		<category><![CDATA[MailMessage]]></category>
		<category><![CDATA[Method]]></category>
		<category><![CDATA[Null]]></category>
		<category><![CDATA[Nullable]]></category>
		<category><![CDATA[Repeater]]></category>
		<category><![CDATA[Request.Url]]></category>
		<category><![CDATA[SendMail]]></category>
		<category><![CDATA[Session]]></category>
		<category><![CDATA[State]]></category>
		<category><![CDATA[Stream]]></category>
		<category><![CDATA[StreamReader]]></category>
		<category><![CDATA[UltraGrid]]></category>
		<category><![CDATA[UltraWinGrid]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[URI]]></category>
		<category><![CDATA[UseDefaultCredentials]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[VisualBasic]]></category>
		<category><![CDATA[VS2003]]></category>
		<category><![CDATA[VS2005]]></category>
		<category><![CDATA[VS2008]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WebApplication]]></category>
		<category><![CDATA[WebRequest]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://nickturner.wordpress.com/?p=39</guid>
		<description><![CDATA[I wanted a way to create the MailMessage using an ASPX page to dynamically populate information and Data Controls. I didn&#8217;t want tons of ugly StringBuilder commands and I wanted to control it by css. ( CSS must be inside a style block of the header. It&#8217;s preferred to call the body xbody for hotmail [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=39&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wanted a way to create the MailMessage using an ASPX page to dynamically populate information and Data Controls. I didn&#8217;t want tons of ugly StringBuilder commands and I wanted to control it by css. ( CSS must be inside a style block of the header. It&#8217;s preferred to call the body xbody for hotmail users. If you like inline style ignore this post because doing that is just atrocious )</p>
<p>First I query the page, save the html, and add it to the MailMessage</p>
<p>To create the html<br />
<code><br />
// Build the Url(URI)<br />
string host = Request.Url.Authority;<br />
string path = "http://" + host + "/Drafts/NotifyCustomerEmailMessage.aspx?id=" + CurrentSessionEventId.ToString();<br />
UriBuilder uri = new UriBuilder(path);</code></p>
<p>// Build Call<br />
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(uri.Uri);<br />
webRequest.Method = &#8220;GET&#8221;;<br />
webRequest.ContentType = &#8220;text/xml; encoding=&#8217;utf-8&#8242;&#8221;;<br />
webRequest.UseDefaultCredentials = true;</p>
<p>//Get Response<br />
HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse();</p>
<p>Stream stream = webResponse.GetResponseStream();<br />
StreamReader streamReader = new System.IO.StreamReader(stream);<br />
string html = streamReader.ReadToEnd();</p>
<p>Now create the mail message<br />
<code><br />
MailMessage mailMessage = new MailMessage(employee.EmailAddress, savings.Email);</code></p>
<p>mailMessage.Subject = &#8220;Report for your review&#8221;;</p>
<p>mailMessage.IsBodyHtml = true;<br />
mailMessage.Body = html;</p>
<p>SMTPManager.SendMail(mailMessage);</p>
<p>and to show what the aspx page looks like</p>
<blockquote>
<p>Document Savings Event: &lt;%= EventName %&gt;</p>
<p>Dear &lt;%= EventContactFullName %&gt;,</p>
<p>I have submitted a new documented cost savings event entitled &#8216;&lt;%= EventName %&gt;&#8217; for your review.</p>
<p>Thank you and have a great day!,<br />
&lt;%= EmployeeName %&gt;</p>
<p>Attached is Event Report for your review. After reviewing, please %&lt;a href=&#8221;&lt;%= GetApproveLink  %&gt;&#8221;%&amp;gr;Accept</a> or <a href="&lt;%= GetDenyLink %&gt;">Deny</a> the report.</p></blockquote>
<p>So the First section does a call to request the page and returns a byte Stream. We then convert that to a string of html and set the MessageBody. Then we send it.</p>
<p>Walla were done and we can create aspx web pages to insert DataLists, repeaters, and the like to make Emails that need to have a lot on Business data included.</p>
<p>Can&#8217;t get the page to show clearly, but you get the point. Accept and Deny are actual Anchors to forward the user to thier respective Customer Web Site.</p>
<p>Hope this helps,<br />
Nick</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nickturner.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nickturner.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nickturner.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nickturner.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nickturner.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nickturner.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nickturner.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nickturner.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nickturner.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nickturner.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nickturner.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nickturner.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nickturner.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nickturner.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=39&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nickturner.wordpress.com/2010/03/31/create-email-from-aspx-page-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac8b4cbe9732d0e29e4c7852ad5bbbf5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nick5454</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating SSRS Report as a PDF programatically</title>
		<link>http://nickturner.wordpress.com/2010/03/31/creating-ssrs-report-as-a-pdf-programatically/</link>
		<comments>http://nickturner.wordpress.com/2010/03/31/creating-ssrs-report-as-a-pdf-programatically/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 02:56:41 +0000</pubDate>
		<dc:creator>nick5454</dc:creator>
				<category><![CDATA[SSRS]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Attachment]]></category>
		<category><![CDATA[byte[]]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[Credentials]]></category>
		<category><![CDATA[LoadReport]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Null]]></category>
		<category><![CDATA[Nullable]]></category>
		<category><![CDATA[ParameterValue]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[Programmatically]]></category>
		<category><![CDATA[Render]]></category>
		<category><![CDATA[ReportExecutionService]]></category>
		<category><![CDATA[ReportServiceExecution]]></category>
		<category><![CDATA[ReportViewer]]></category>
		<category><![CDATA[ReportViewer.WebForms.dll]]></category>
		<category><![CDATA[Session]]></category>
		<category><![CDATA[SetExecutionParameters]]></category>
		<category><![CDATA[SQL Reporting Services]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[VisualBasic]]></category>
		<category><![CDATA[VS.NET]]></category>
		<category><![CDATA[VS2005]]></category>
		<category><![CDATA[VS2008]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Application]]></category>
		<category><![CDATA[WebForms]]></category>

		<guid isPermaLink="false">http://nickturner.wordpress.com/?p=36</guid>
		<description><![CDATA[To create a report programmatically is actually quite easy. Here is the example You will need the ReportViewer.WebForms.dll referenced // setup report variables string deviceInfo = null; string extension = String.Empty; string mimeType = String.Empty; string encoding = String.Empty; Warning[] warnings = null; string[] streamIDs = null; string historyId = null; // Create a Report [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=36&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To create a report programmatically is actually quite easy.</p>
<p>Here is the example</p>
<p>You will need the ReportViewer.WebForms.dll referenced</p>
<p><code><br />
// setup report variables<br />
string deviceInfo = null;<br />
string extension = String.Empty;<br />
string mimeType = String.Empty;<br />
string encoding = String.Empty;<br />
Warning[] warnings = null;<br />
string[] streamIDs = null;<br />
string historyId = null;</p>
<p>// Create a Report Execution object<br />
ReportExecutionService rsExec = new ReportExecutionService();<br />
rsExec.Credentials = System.Net.CredentialCache.DefaultCredentials;<br />
rsExec.Url = ConfigurationManager.AppSettings["ReportServer"] + "/ReportExecution2005.asmx";</p>
<p>// Load the report<br />
rsExec.LoadReport("/ReportMainFolder/ReportName", historyId);</p>
<p>// pass parameters<br />
rsExec.SetExecutionParameters(<br />
new ParameterValue[]<br />
{new ParameterValue() {Name = "ParamEvent", Value = "MyValue"}},null);</p>
<p>// get pdf of report<br />
Byte[] results = rsExec.Render("PDF", deviceInfo,<br />
out extension, out encoding,<br />
out mimeType, out warnings, out streamIDs);</p>
<p>Walla...almost no code, it's easy to manage and your done.</p>
<p>Take the bytes and add as an attachment to a MailMessage(SMTP):<br />
mailMessage.Attachments.Add(new Attachment(new MemoryStream(attachment),String.Format("{0}_DocumentSavingsReport.pdf", "ReportName") ));</p>
<p>or<br />
Response.Write(result);<br />
</code> </p>
<p>Hope this helps,<br />
Nick</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nickturner.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nickturner.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nickturner.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nickturner.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nickturner.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nickturner.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nickturner.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nickturner.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nickturner.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nickturner.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nickturner.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nickturner.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nickturner.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nickturner.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=36&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nickturner.wordpress.com/2010/03/31/creating-ssrs-report-as-a-pdf-programatically/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac8b4cbe9732d0e29e4c7852ad5bbbf5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nick5454</media:title>
		</media:content>
	</item>
		<item>
		<title>Fixing a Web Project with mutliple VS versions</title>
		<link>http://nickturner.wordpress.com/2010/02/11/fixing-a-web-project-with-mutliple-vs-versions/</link>
		<comments>http://nickturner.wordpress.com/2010/02/11/fixing-a-web-project-with-mutliple-vs-versions/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 17:06:48 +0000</pubDate>
		<dc:creator>nick5454</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[.NET Grid]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[codebehind]]></category>
		<category><![CDATA[codefile]]></category>
		<category><![CDATA[Convert]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[Exception]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[namespace]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Repeater]]></category>
		<category><![CDATA[Session]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[VisualBasic]]></category>
		<category><![CDATA[VS.NET]]></category>
		<category><![CDATA[VS2003]]></category>
		<category><![CDATA[VS2005]]></category>
		<category><![CDATA[VS2008]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Application]]></category>
		<category><![CDATA[WebApplication]]></category>

		<guid isPermaLink="false">http://nickturner.wordpress.com/?p=31</guid>
		<description><![CDATA[Getting this project running was an absolute nightmare. It had multiple code versions and it even had old 2003 code and dll links. I have to buy rogaine to put back the hair I pulled out! I tried loading the web site in multiple versions and never worked ( 2003,2005,2008 ). It turns out the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=31&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Getting this project running was an absolute nightmare.</p>
<p>It had multiple code versions and it even had old 2003 code and dll links. I have to buy rogaine to put back the hair I pulled out!</p>
<p>I tried loading the web site in multiple versions and never worked ( 2003,2005,2008 ). It turns out the developer when migrating to a new version simple looked for errors and did not actually update the code. He took out all namespaces and put everything in a root directory and deleted the AppCode folder and it didn&#8217;t have a designer file.</p>
<p>I tried creating a new page for each and didn&#8217;t work. Partly because I was just pasting the html and expecting the designer to update.</p>
<p>To add there was multiple versions on the PC and no one really knew where the actual code base was located.</p>
<p>I found this blog post by Scott <a href="http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx">Scott Gu&#8217;s blog post</a></p>
<p>So heres how I finally fixed it, thanks to Scott&#8217;s blog.</p>
<p>1) Found a supposedly correct code base<br />
2) Added the code base to a temp folder<br />
3) Created an entirely new web project<br />
4) Added manually all of the files to the web project<br />
5) deleted all of the designer files<br />
6) deleted all of the designer code in the code behinds. He had web page variable declarations within the designer vb codebehind file, so it was annoying<br />
7) closed all files<br />
8 ) right clicked each page and chose &#8220;Convert to Web Application&#8221;<br />
9 ) right clicked again and chose &#8220;View Designer&#8221;<br />
10 ) I fixed some control registers and namespaces<br />
And I finally got the web site to come up and it appears to be working. Only time will tell.</p>
<p>Hope this helps if your stuck. I must have tried 5 different fixes before this one worked.</p>
<p>Putting this in Tortoise SVN right away!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nickturner.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nickturner.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nickturner.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nickturner.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nickturner.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nickturner.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nickturner.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nickturner.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nickturner.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nickturner.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nickturner.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nickturner.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nickturner.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nickturner.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nickturner.wordpress.com&amp;blog=8601867&amp;post=31&amp;subd=nickturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nickturner.wordpress.com/2010/02/11/fixing-a-web-project-with-mutliple-vs-versions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac8b4cbe9732d0e29e4c7852ad5bbbf5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nick5454</media:title>
		</media:content>
	</item>
	</channel>
</rss>
