<?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>Asp.Net Team's Weblog</title>
	<atom:link href="http://aspnetteam.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://aspnetteam.wordpress.com</link>
	<description>Another ASP.NET Weblog</description>
	<lastBuildDate>Thu, 03 Sep 2009 11:54:33 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='aspnetteam.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/ea6345954410fcd98c45fab481df7cbf?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Asp.Net Team's Weblog</title>
		<link>http://aspnetteam.wordpress.com</link>
	</image>
			<item>
		<title>Email using C#</title>
		<link>http://aspnetteam.wordpress.com/2009/09/03/email-using-c/</link>
		<comments>http://aspnetteam.wordpress.com/2009/09/03/email-using-c/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 11:50:14 +0000</pubDate>
		<dc:creator>Frank Adams</dc:creator>
				<category><![CDATA[ASP.NET C#]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://aspnetteam.wordpress.com/?p=125</guid>
		<description><![CDATA[I had a co-worker recently ask me what I did to send email from a C# web application. I gave him what worked for me. He made a few adjustments and sent it back to me.  I did request that he send me what he came up with that finally worked for him. I think [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=125&subd=aspnetteam&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I had a co-worker recently ask me what I did to send email from a C# web application. I gave him what worked for me. He made a few adjustments and sent it back to me.  I did request that he send me what he came up with that finally worked for him. I think he did a better job than I so I am going to post it for you to see. Have a look and see how it may fit into your application or project. Improvements are welcome. He ended up writing a class to call from anywhere in the project. It takes the following arguments; from, to, subject, body, attachments, and isBodyHTML boolean.</p>
<p><code>using System.Net;<br />
using System.Net.Mail;</code></p>
<p><code>public class mailer<br />
{<br />
public Boolean sendemail(String strFrom, string strTo, string strSubject, string strBody, string strAttachmentPath, bool IsBodyHTML)<br />
{<br />
Array arrToArray;<br />
char[] splitter = { ';' };<br />
arrToArray = strTo.Split(splitter);<br />
MailMessage mm = new MailMessage();<br />
mm.From = new MailAddress(strFrom);<br />
mm.Subject = strSubject;<br />
mm.Body = strBody+disclaimer;<br />
mm.IsBodyHtml = IsBodyHTML;<br />
//mm.ReplyTo = new MailAddress("<a href="mailto:replyto@xyz.com">replyto@xyz.com</a>");<br />
foreach (string s in arrToArray)<br />
{<br />
mm.To.Add(new MailAddress(s));<br />
}<br />
if (strAttachmentPath != "")<br />
{<br />
try<br />
{<br />
//Add Attachment<br />
Attachment attachFile = new Attachment(strAttachmentPath);<br />
mm.Attachments.Add(attachFile);<br />
}<br />
catch { }<br />
}<br />
SmtpClient smtp = new SmtpClient();<br />
try<br />
{<br />
smtp.Host = "mail.domain.com";<br />
smtp.Port = 25; //Specify your port No;<br />
smtp.Send(mm);<br />
return true;<br />
}<br />
catch<br />
{<br />
mm.Dispose();<br />
smtp = null;<br />
return false;<br />
}<br />
}<br />
}</code></p>
<p>Thanks Shane!</p>
<p>Hope this helped someone.  Have fun coding and as always, if there are any questions or suggestions, they are welcome.  Thank you.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aspnetteam.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aspnetteam.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aspnetteam.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aspnetteam.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aspnetteam.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aspnetteam.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aspnetteam.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aspnetteam.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aspnetteam.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aspnetteam.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=125&subd=aspnetteam&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://aspnetteam.wordpress.com/2009/09/03/email-using-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e7de40145b3f1678a34b54c67d2c8e44?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Frank</media:title>
		</media:content>
	</item>
		<item>
		<title>AJAX Toolkit Mysterious Behavior</title>
		<link>http://aspnetteam.wordpress.com/2009/08/05/ajax-toolkit-mysterious-behavior/</link>
		<comments>http://aspnetteam.wordpress.com/2009/08/05/ajax-toolkit-mysterious-behavior/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 14:39:53 +0000</pubDate>
		<dc:creator>Frank Adams</dc:creator>
				<category><![CDATA[AJAX]]></category>

		<guid isPermaLink="false">http://aspnetteam.wordpress.com/2009/08/05/ajax-toolkit-mysterious-behavior/</guid>
		<description><![CDATA[     I have been working with AJAX extensions for some time now.  I recently moved jobs and started working on a different project.  I remember that in my previous position I had a problem with Visual Studio 2008 working with AJAX and .NET Framework 3.5 SP1. I do not remember the problem or the fix [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=124&subd=aspnetteam&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>     I have been working with AJAX extensions for some time now.  I recently moved jobs and started working on a different project.  I remember that in my previous position I had a problem with Visual Studio 2008 working with AJAX and .NET Framework 3.5 SP1. I do not remember the problem or the fix but I resolved the issue originally. Now, here at me new job, I had the exact same problem.  What did I do this time you may ask?  I searched frantically around the web for a resolution because I didn’t remember what I did last time to fix the problem.  I found a lot of suggestions from removing wireless mouse (??) to reinstalling .NET 3.5 SP1 to restoring Visual Studio 2008 to initial install settings. None of which worked by the way.  I thought I would let you know this time what I did to remedy the problem.  First, the issue was I could not see the AJAX Toolkit in the VS toolbox.  I saw the AJAX Extensions tab and it was populated but no luck with the toolkit.  I had downloaded the AJAX binaries and extracted on my shared drive.  I included the toolkit on my web project and it did not work.  I tried several other things and to my disappointment didn’t work. </p>
<p>The solution you ask: </p>
<ul>
<li>Copy the ajaxcontroltoolkit.dll to a local folder on your c: drive.</li>
<li>Then create a new tab and name it whatever you like (I named mine AJAX Toolkit).</li>
<li>Then right click inside toolbox in VS and then choose items. </li>
<li>After the popup shows itself choose browse button and browse to newly placed .dll file. </li>
<li>The toolkit will start populating from there. </li>
</ul>
<p>It will work. Hope this helped someone.  Have fun coding and as always, if there are any questions or suggestions, they are welcome.  Thank you.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aspnetteam.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aspnetteam.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aspnetteam.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aspnetteam.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aspnetteam.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aspnetteam.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aspnetteam.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aspnetteam.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aspnetteam.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aspnetteam.wordpress.com/124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=124&subd=aspnetteam&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://aspnetteam.wordpress.com/2009/08/05/ajax-toolkit-mysterious-behavior/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e7de40145b3f1678a34b54c67d2c8e44?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Frank</media:title>
		</media:content>
	</item>
		<item>
		<title>.NET and Coldfusion and IIS7 and Charting and AJAX and…</title>
		<link>http://aspnetteam.wordpress.com/2009/06/23/net-and-coldfusion-and-iis7-and-charting-and-ajax-and%e2%80%a6/</link>
		<comments>http://aspnetteam.wordpress.com/2009/06/23/net-and-coldfusion-and-iis7-and-charting-and-ajax-and%e2%80%a6/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 17:30:00 +0000</pubDate>
		<dc:creator>Frank Adams</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[ASP.NET VB]]></category>
		<category><![CDATA[IIS7]]></category>

		<guid isPermaLink="false">http://aspnetteam.wordpress.com/?p=121</guid>
		<description><![CDATA[     I am in the process of creating an application that uses the MS Charting controls along with some AJAX.  I was working on my machine of XP with VS 2008.  I didn’t have IIS installed so I was using built in browser functionality from VS to view site. Everything was going great. Was being [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=121&subd=aspnetteam&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="wp-caption alignleft" style="width: 394px"><img class=" " title="ARRGH!" src="http://successbeginstoday.org/wordpress/wp-content/uploads/2008/03/arrgh-computer.jpg" alt="ARRGH!" width="384" height="256" /><p class="wp-caption-text">ARRGH!</p></div>
<p>     I am in the process of creating an application that uses the MS Charting controls along with some AJAX.  I was working on my machine of XP with VS 2008.  I didn’t have IIS installed so I was using built in browser functionality from VS to view site. Everything was going great. Was being the key word.  I had to finally move it over to a real development environment for more reasons than one.  When I finally moved the application it broke. It just wouldn’t work.  I got a 500 error.  Then after a few refreshes I found that I had this error: The WebResource.axd handler must be registered in the configurtion to process this request.  What!? What does that mean?  I searched for a few days to find a solution. I came up with a few from restarting the web service to reinstalling the .NET framework (none of which worked by the way).  After 4 days I finally came across the solution, Coldfusion does not play well with AJAX and .NET. For some reason, after looking at the compiled error logs, I saw that my appication was calling a .DLL in the Coldfusion directory.  Why on earth would my Microsoft .NET 3.5 SP1 application even be concerned with anything Coldfusion?  It seems that it is a mapping issue within IIS 7.  Yup, IIS 7. I had to remove (not sure if it was the right thing to do) but I removed all mappings to anything Coldfusion (.cfm, cfml, jsp, etc.).  It it was mapped to anything in the Coldfusion directory, I got rid of it.  Guess what?  It worked.  Application works like a champ now!  I am putting this up here so to be another resource to call upon.  There wasn’t anything I found that said to do what I did.  The closest I came was to have .NET and Coldfusion install on different servers.  Likely scenerio.  Yea right… Hope this helped someone.  Have fun coding and as always, if there are any questions or suggestions, they are welcome.  Thank you.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aspnetteam.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aspnetteam.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aspnetteam.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aspnetteam.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aspnetteam.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aspnetteam.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aspnetteam.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aspnetteam.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aspnetteam.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aspnetteam.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=121&subd=aspnetteam&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://aspnetteam.wordpress.com/2009/06/23/net-and-coldfusion-and-iis7-and-charting-and-ajax-and%e2%80%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e7de40145b3f1678a34b54c67d2c8e44?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Frank</media:title>
		</media:content>

		<media:content url="http://successbeginstoday.org/wordpress/wp-content/uploads/2008/03/arrgh-computer.jpg" medium="image">
			<media:title type="html">ARRGH!</media:title>
		</media:content>
	</item>
		<item>
		<title>Standards of Coding</title>
		<link>http://aspnetteam.wordpress.com/2009/06/09/standards-of-coding/</link>
		<comments>http://aspnetteam.wordpress.com/2009/06/09/standards-of-coding/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 18:38:43 +0000</pubDate>
		<dc:creator>Frank Adams</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://aspnetteam.wordpress.com/?p=115</guid>
		<description><![CDATA[I just gave a presentation to a team of developers about coding standards for .NET.  I was a bit nervous as most of them were/are smarter than I.  I think it went off really well.  Better than I thought it would.  At least that is the feedback I got.  What I covered was that using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=115&subd=aspnetteam&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I just gave a presentation to a team of developers about coding standards for .NET.  I was a bit nervous as most of them were/are smarter than I.  I think it went off really well.  Better than I thought it would.  At least that is the feedback I got.  What I covered was that using .NET, there really are not ’standards’ to follow that are better than another.  What needs to be considered is that a set of standards are made and then followed by the development team.  These standards can be something created by a team member or something pre-built by a third party (MVC, nTier, etc.). What I am saying is that standards can be anything the team comes up with.  They only become standards if they are used as such.  If I came and implemented standards for the team for .NET and nobody used them, then what you have in essence is a different way of coding than that of anybody else.  If everyone used the methodology put forth, that’s when standards start to take shape.  I know there are many different methodologies but you only need one to get a team on the same page.  I am interested on any other thoughts on this subject. Have fun coding and as always, if there are any questions or suggestions, they are welcome.  Thank you.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aspnetteam.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aspnetteam.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aspnetteam.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aspnetteam.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aspnetteam.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aspnetteam.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aspnetteam.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aspnetteam.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aspnetteam.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aspnetteam.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=115&subd=aspnetteam&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://aspnetteam.wordpress.com/2009/06/09/standards-of-coding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e7de40145b3f1678a34b54c67d2c8e44?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Frank</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating a Pop-Up Using ASP.NET VB</title>
		<link>http://aspnetteam.wordpress.com/2009/04/24/creating-a-pop-up-using-aspnet-vb/</link>
		<comments>http://aspnetteam.wordpress.com/2009/04/24/creating-a-pop-up-using-aspnet-vb/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 14:47:13 +0000</pubDate>
		<dc:creator>Frank Adams</dc:creator>
				<category><![CDATA[ASP.NET VB]]></category>

		<guid isPermaLink="false">http://aspnetteam.wordpress.com/?p=108</guid>
		<description><![CDATA[I have searched for a way to create a simple popup on my project. Something that is scalable and reusable. I found the answer and I do not know why I never thought of this. It consists of a little five line function. It can probably be done in C# as well.  I just haven’t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=108&subd=aspnetteam&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">I have searched for a way to create a simple popup on my project. Something that is scalable and reusable. I found the answer and I do not know why I never thought of this. It consists of a little five line function. It can probably be done in C# as well.<span>  </span>I just haven’t taken the time to convert it over.<span>  </span>Well here it is.<span>  </span>All you have to do is pass in the page, the message, and a key. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">CreateMessageAlert</span><span style="font-size:12pt;">(page, message, “<span style="color:maroon;">keyname</span>”) </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Message has to be type of string:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Dim</span><span style="font-size:12pt;"> message<span style="color:blue;"> As String</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Below is the code to implement the above call:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Public Shared Sub</span><span style="font-size:12pt;"> CreateMessageAlert(<span style="color:blue;">ByRef</span> aspxPage <span style="color:blue;">As</span> System.Web.UI.Page, _</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>                           </span><span style="color:blue;">ByVal</span> strMessage <span style="color:blue;">As String</span>, <span style="color:blue;">ByVal</span> strKey <span style="color:blue;">As String</span>)</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:blue;">Dim</span> strScript <span style="color:blue;">As String</span> = &#8220;<span style="color:maroon;">&lt;script language=JavaScript&gt;alert(&#8216;&#8221;</span> _</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>                                            </span>&amp; strMessage &amp; <span style="color:maroon;">&#8220;&#8216;)&lt;/script&gt;</span>&#8220;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:blue;">If</span> (<span style="color:blue;">Not</span> aspxPage.IsStartupScriptRegistered(strKey)) <span style="color:blue;">Then</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>            </span>aspxPage.RegisterStartupScript(strKey, strScript)</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>       </span><span style="color:blue;"><span> </span>End If</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:blue;"><span style="font-family:Times New Roman;"><span>    </span>End Sub</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:blue;"><span style="font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">That is it. Not too bad. Pretty easy stuff. </span><span style="font-size:12pt;font-family:Consolas;">Hope this helped.<span>  </span>Have fun coding and as always, if there are any questions or suggestions, they are welcome.<span>  </span>Thank you.</span></p>
<p class="MsoNormal" style="margin:0;">  </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aspnetteam.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aspnetteam.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aspnetteam.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aspnetteam.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aspnetteam.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aspnetteam.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aspnetteam.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aspnetteam.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aspnetteam.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aspnetteam.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=108&subd=aspnetteam&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://aspnetteam.wordpress.com/2009/04/24/creating-a-pop-up-using-aspnet-vb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e7de40145b3f1678a34b54c67d2c8e44?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Frank</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Classes in ASP.NET VB</title>
		<link>http://aspnetteam.wordpress.com/2009/03/27/using-classes-in-aspnet-vb/</link>
		<comments>http://aspnetteam.wordpress.com/2009/03/27/using-classes-in-aspnet-vb/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 19:02:13 +0000</pubDate>
		<dc:creator>Frank Adams</dc:creator>
				<category><![CDATA[ASP.NET VB]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[Function]]></category>

		<guid isPermaLink="false">http://aspnetteam.wordpress.com/?p=104</guid>
		<description><![CDATA[I have created a web application that introduced me to something I haven’t really used before, classes.  They are a great thing.  This may be a 101 style post but I find it very interesting.  What I have done is create a class of user. Inside the user.vb class I have all the methods/functions that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=104&subd=aspnetteam&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">I have created a web application that introduced me to something I haven’t really used before, classes.<span>  </span>They are a great thing.<span>  </span>This may be a 101 style post but I find it very interesting.<span>  </span>What I have done is create a class of user. Inside the user.vb class I have all the methods/functions that has to do with the user.<span>  </span>I have things like a function to find the user name, another to find user ID, and yet another to find the user roles. To use it all you have to do is create an instance of that class and you can call the methods directly on the caller page. For instance my class is named user.vb. To use it you have to reference it. This is how I reference it:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"><span> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Dim</span><span style="font-size:12pt;"> iUser <span style="color:blue;">As New</span> User</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">That’s it! Then to use the methods:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;">iUser.methodname()</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">How easy is that?<span>  </span>I also have a sqlMethod.vb which houses all my sql methods used throughout my web application.<span>  </span>I even use it in the User class. Again, the same way whether its in a class or another page is to use the:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Dim</span><span style="font-size:12pt;"> iSQL <span style="color:blue;">As New</span> sqlMethods</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">And then you guessed it, to use any method just reference it like:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;">iSQL.methodname()</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">You can also pass in variables if you need to:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;">iSQL.Methodname(var1, var2)</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">One thing to remember is that the call has to be set to a variable. You have to have:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Dim</span><span style="font-size:12pt;"> roles <span style="color:blue;">As String</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;">Roles = iSQL.roles(userID)</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">To create the class, if your using Visual Studio, you just have to right click on the project name and choose add new item and choose class, name it, and your good to go to use one. Make sure you <span style="color:blue;">Import</span> anything that is needed at the top of the class. Below is a real world example of how I use it. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Here is my User.vb code:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Dim</span><span style="font-size:12pt;"> iSQL <span style="color:blue;">As New</span> sqlMethods</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Public Function</span><span style="font-size:12pt;"> GetUserID(ByVal userlogin <span style="color:blue;">As String</span>, ByVal userpassword <span style="color:blue;">As String</span>) <span style="color:blue;">As String</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>       </span><span style="color:blue;"><span> </span>Dim</span> userID <span style="color:blue;">As String</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span>userID = iSQL.GetUserID(userlogin, userpassword).ToString</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>       </span><span style="color:blue;"><span> </span>Return</span> userID</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>    </span><span style="color:blue;">End Function</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:x-small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Here is my sqlMethods.vb Code:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Public Function</span><span style="font-size:12pt;"> GetUserID(<span style="color:blue;">ByVal</span> userlogin <span style="color:blue;">As String</span>, <span style="color:blue;">ByVal</span> userpassword <span style="color:blue;">As String</span>) <span style="color:blue;">As String</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:blue;">Dim</span> mySQLString <span style="color:blue;">As String</span> = &#8220;<span style="color:maroon;">SELECT tblUser.userID FROM tblUser WHERE tblUser.userLogin =</span> &#8216;&#8221; &amp; userlogin &amp; &#8220;&#8216; <span style="color:maroon;">AND tblUser.userPassword =</span> &#8216;&#8221; &amp; userpassword &amp; &#8220;&#8216;&#8221;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:blue;">Dim </span>myCommand <span style="color:blue;">As New</span> SqlCommand(mySQLString, dsn)</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:blue;">Dim</span> userID <span style="color:blue;">As String</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:blue;">Try</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>            </span>dsn.Open()</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>            </span>userID = Convert.ToString(myCommand.ExecuteScalar())</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>            </span><span style="color:blue;">If</span> userID = &#8220;&#8221; <span style="color:blue;">Then</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>                </span>Return 0</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>            </span><span style="color:blue;">Else</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>               </span>Return userID</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>            </span><span style="color:blue;">End If</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:blue;">Catch </span>ex <span style="color:blue;">As Exception</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>            </span><span style="color:green;">&#8216;Something went wrong</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>            </span>dsn.Close()</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>            </span><span style="color:blue;">Throw</span> ex</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:blue;">Finally</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>           </span><span style="color:green;"><span> </span>&#8216;Cleanup</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>            </span>dsn.Close()</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:blue;">End Try</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>    </span><span style="color:blue;">End Function</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Hope this helped.<span>  </span>Have fun coding and as always, if there are any questions or suggestions, they are welcome.<span>  </span>Thank you.</span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aspnetteam.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aspnetteam.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aspnetteam.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aspnetteam.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aspnetteam.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aspnetteam.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aspnetteam.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aspnetteam.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aspnetteam.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aspnetteam.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=104&subd=aspnetteam&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://aspnetteam.wordpress.com/2009/03/27/using-classes-in-aspnet-vb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e7de40145b3f1678a34b54c67d2c8e44?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Frank</media:title>
		</media:content>
	</item>
		<item>
		<title>Working with a Database in ASP.NET VB</title>
		<link>http://aspnetteam.wordpress.com/2009/03/16/working-with-a-database-in-aspnet-vb/</link>
		<comments>http://aspnetteam.wordpress.com/2009/03/16/working-with-a-database-in-aspnet-vb/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 19:29:32 +0000</pubDate>
		<dc:creator>Frank Adams</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[ASP.NET VB]]></category>
		<category><![CDATA[SQLClient]]></category>

		<guid isPermaLink="false">http://aspnetteam.wordpress.com/?p=96</guid>
		<description><![CDATA[I just realized I added code on the blog for working with databases in C# but not for VB.  This will be the missing post of one way in which you can use Visual Basic. Enjoy!

Imports System.Data
Imports System.Data.SqlClient
Dim cs As String = &#8220;Data Source=.\SQLEXPRESS;&#8221; + _
Dim cs As String = &#8220;Initial Catalog=NamesDB;&#8221; + _
Dim cs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=96&subd=aspnetteam&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;"><span style="font-size:12pt;font-family:Consolas;"><span style="color:#000000;">I just realized I added code on the blog for working with databases in C# but not for VB.<span>  </span>This will be the missing post of one way in which you can use Visual Basic. Enjoy!</span></span></span></p>
<p class="MsoNormal"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;"><span style="font-size:12pt;font-family:Consolas;"></span></span></p>
<p class="MsoNormal"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;"><span style="font-size:12pt;font-family:Consolas;"></span></span><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Imports </span><span style="font-size:12pt;color:black;font-family:Consolas;">System.Data</span></p>
<p class="MsoNormal"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Imports </span><span style="font-size:12pt;color:black;font-family:Consolas;">System.Data.SqlClient</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Dim </span><span style="font-size:12pt;color:black;font-family:Consolas;">cs </span><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">As String </span><span style="font-size:12pt;color:black;font-family:Consolas;">= </span><span style="font-size:12pt;color:#6e0000;font-family:Consolas;">&#8220;Data Source=.\SQLEXPRESS;&#8221; </span><span style="font-size:12pt;color:black;font-family:Consolas;">+ _</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#3366ff;font-family:Consolas;">Dim </span><span style="font-size:12pt;font-family:Consolas;">cs<span style="color:#3366ff;"> As String </span>=<span style="color:white;"> </span><span style="color:#6e0000;">&#8220;Initial Catalog=NamesDB;&#8221; </span><span style="color:black;">+ _</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#3366ff;font-family:Consolas;">Dim </span><span style="font-size:12pt;font-family:Consolas;">cs<span style="color:#3366ff;"> As String </span>=<span style="color:white;"> </span><span style="color:#6e0000;">&#8220;Integrated Security=True;&#8221;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Using </span><span style="font-size:12pt;color:black;font-family:Consolas;">con </span><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">As New </span><span style="font-size:12pt;color:black;font-family:Consolas;">SqlConnection(cs)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:black;font-family:Consolas;">con.Open()</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#26cd00;font-family:Consolas;">&#8216; insert a record</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:black;font-family:Consolas;">sql = </span><span style="font-size:12pt;color:#6e0000;font-family:Consolas;">&#8220;INSERT INTO Names(Name) VALUES(@Name)&#8221;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Dim </span><span style="font-size:12pt;color:black;font-family:Consolas;">cmd1 </span><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">As New </span><span style="font-size:12pt;color:black;font-family:Consolas;">SqlCommand(sql, con)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:black;font-family:Consolas;">cmd1.Parameters.Add(</span><span style="font-size:12pt;color:#6e0000;font-family:Consolas;">&#8220;@Name&#8221;</span><span style="font-size:12pt;color:black;font-family:Consolas;">, SqlDbType.NVarChar, 100)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:black;font-family:Consolas;">cmd1.Parameters(</span><span style="font-size:12pt;color:#6e0000;font-family:Consolas;">&#8220;@Name&#8221;</span><span style="font-size:12pt;color:black;font-family:Consolas;">).Value = </span><span style="font-size:12pt;color:#6e0000;font-family:Consolas;">&#8220;Bob&#8221;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:black;font-family:Consolas;">cmd1.ExecuteNonQuery()</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#339966;font-family:Consolas;">&#8216; insert a second record</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:black;font-family:Consolas;">cmd1.Parameters(</span><span style="font-size:12pt;color:#6e0000;font-family:Consolas;">&#8220;@Name&#8221;</span><span style="font-size:12pt;color:black;font-family:Consolas;">).Value = </span><span style="font-size:12pt;color:#6e0000;font-family:Consolas;">&#8220;David&#8221;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:black;font-family:Consolas;">cmd1.ExecuteNonQuery()</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#339966;font-family:Consolas;">&#8216; read records</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:black;font-family:Consolas;">sql = </span><span style="font-size:12pt;color:#6e0000;font-family:Consolas;">&#8220;SELECT * FROM Names&#8221;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Dim </span><span style="font-size:12pt;color:black;font-family:Consolas;">cmd2 </span><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">As New </span><span style="font-size:12pt;color:black;font-family:Consolas;">SqlCommand(sql, con)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Using </span><span style="font-size:12pt;color:black;font-family:Consolas;">r </span><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">As </span><span style="font-size:12pt;color:black;font-family:Consolas;">SqlDataReader = cmd2.ExecuteReader()</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Dim </span><span style="font-size:12pt;color:black;font-family:Consolas;">iName </span><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">As Integer </span><span style="font-size:12pt;color:black;font-family:Consolas;">= r.GetOrdinal(</span><span style="font-size:12pt;color:#6e0000;font-family:Consolas;">&#8220;Name&#8221;</span><span style="font-size:12pt;color:black;font-family:Consolas;">)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Do While </span><span style="font-size:12pt;color:black;font-family:Consolas;">r.Read()</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">If </span><span style="font-size:12pt;color:black;font-family:Consolas;">r.IsDbNull(iName) </span><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Then</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:black;font-family:Consolas;">Console.WriteLine(</span><span style="font-size:12pt;color:#6e0000;font-family:Consolas;">&#8220;Null&#8221;</span><span style="font-size:12pt;color:black;font-family:Consolas;">)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Else</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:black;font-family:Consolas;">Console.WriteLine(r.GetString(iName))</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">End If</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Loop</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">End Using</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#339966;font-family:Consolas;">&#8216; read a single value</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:black;font-family:Consolas;">sql = </span><span style="font-size:12pt;color:#6e0000;font-family:Consolas;">&#8220;SELECT TOP 1 Name FROM Names&#8221;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">Dim </span><span style="font-size:12pt;color:black;font-family:Consolas;">cmd3 </span><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">As New </span><span style="font-size:12pt;color:black;font-family:Consolas;">SqlCommand(sql, con)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:black;font-family:Consolas;">Console.WriteLine(cmd3.ExecuteScalar())</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;">End Using</span></p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;"><span style="font-size:12pt;font-family:Consolas;"><span style="color:#000000;">(This post was done with the help of LearnVisualStudio.net. Thanks!)</span></span></span></p>
<div></div>
<p><span style="font-size:12pt;color:#0f61ff;font-family:Consolas;"></p>
<p class="MsoNormal" style="margin:0;"><span style="color:#000000;"><span style="font-size:12pt;font-family:Consolas;">In a future post I will be sure to add a post about how to use stored procedures! </span><span style="font-size:12pt;font-family:Consolas;">Hope this helps you.<span>  </span></span><span style="font-size:12pt;font-family:Consolas;">Have fun coding and as always, if there are any questions or suggestions, they are welcome.<span>  </span>Thank you.</span></span></p>
<p> </p>
<p></span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aspnetteam.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aspnetteam.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aspnetteam.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aspnetteam.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aspnetteam.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aspnetteam.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aspnetteam.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aspnetteam.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aspnetteam.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aspnetteam.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=96&subd=aspnetteam&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://aspnetteam.wordpress.com/2009/03/16/working-with-a-database-in-aspnet-vb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e7de40145b3f1678a34b54c67d2c8e44?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Frank</media:title>
		</media:content>
	</item>
		<item>
		<title>Connection Strings for Desktop Search in Application</title>
		<link>http://aspnetteam.wordpress.com/2009/02/25/connection-strings-for-desktop-search-in-application/</link>
		<comments>http://aspnetteam.wordpress.com/2009/02/25/connection-strings-for-desktop-search-in-application/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 18:56:58 +0000</pubDate>
		<dc:creator>Frank Adams</dc:creator>
				<category><![CDATA[ASP.NET VB]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Directory]]></category>
		<category><![CDATA[Files]]></category>

		<guid isPermaLink="false">http://aspnetteam.wordpress.com/?p=94</guid>
		<description><![CDATA[Okay, I have been fighting with this for about two days now.  I believe I mentioned previously that there isn’t much docuemntation on the new desktop seach for Windows Server 2008.  it turns out that what I thought to be true was in fact wrong.  I thought, and please correct me if I am wrong, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=94&subd=aspnetteam&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Okay, I have been fighting with this for about two days now.<span>  </span>I believe I mentioned previously that there isn’t much docuemntation on the new desktop seach for Windows Server 2008.<span>  </span>it turns out that what I thought to be true was in fact wrong.<span>  </span>I thought, and please correct me if I am wrong, that the windows search feature in Windows Server 2008 is the same as the windows search feature in Vista.<span>  </span>Boy I was wrong on that one.<span>  </span>I was trying to search for something that wasn’t there.<span>  </span>I just needed a different connection string is all. Here is what I used for Vista:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:blue;font-family:Consolas;">Dim</span><span style="font-size:12pt;color:black;font-family:Consolas;"> connString As </span><span style="font-size:12pt;color:blue;font-family:Consolas;">String</span><span style="font-size:12pt;color:black;font-family:Consolas;"> = </span><span style="font-size:12pt;color:#993300;font-family:Consolas;">&#8220;Provider=MSIDXS.1;Integrated Security .=&#8221;&#8221;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#993300;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">It works fine.<span>  </span>I thought it worked fine in server 2008 also.<span>  </span>I was trying to find a whole plethora of solutions that could fix my problem.<span>  </span>What I needed to change was that line of code above to:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:blue;font-family:Consolas;">Dim</span><span style="font-size:12pt;color:black;font-family:Consolas;"> connString As </span><span style="font-size:12pt;color:blue;font-family:Consolas;">String</span><span style="font-size:12pt;color:black;font-family:Consolas;"> = </span><span style="font-size:12pt;color:#993300;font-family:Consolas;">&#8220;Provider=Search.CollatorDSO;Extended Properties=&#8217;Application=Windows&#8217;&#8221;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#993300;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Go figure! The error I was getting was <span style="color:#993300;">System.Data.OleDb.OleDbException: Service is not running.</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#993300;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">That told me that the windows indexing or windows search was not running. I didn’t figure that the connection string would be wrong.<span>  </span>Oh and there is no catalog created when you index files on server 2008.<span>  </span>You have to reference them this way:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"><span>  </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:blue;font-family:Consolas;">SELECT</span><span style="font-size:12pt;font-family:Consolas;"> filename blah blah <span style="color:blue;">FROM</span> systemindex..scope() <span style="color:blue;">WHERE</span> <span style="color:blue;">SCOPE</span>=<span style="color:#993300;">&#8216;file:C:\inetpub\cgweb\appname\repository&#8217;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">You also have to not include the directory folders like this:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:blue;font-family:Consolas;">AND</span><span style="font-size:12pt;font-family:Consolas;"> system.itemtype NOT LIKE <span style="color:#993300;">&#8216;%Directory%&#8217;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">I guess that can be chalked up as lessons learned.<span>  </span>Don’t look for the obvious, look of the unobvious. Hope this helps you. <span> </span></span><span style="font-size:12pt;font-family:Consolas;">Have fun coding and as always, if there are any questions or suggestions, they are welcome.<span>  </span>Thank you.</span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aspnetteam.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aspnetteam.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aspnetteam.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aspnetteam.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aspnetteam.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aspnetteam.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aspnetteam.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aspnetteam.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aspnetteam.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aspnetteam.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=94&subd=aspnetteam&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://aspnetteam.wordpress.com/2009/02/25/connection-strings-for-desktop-search-in-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e7de40145b3f1678a34b54c67d2c8e44?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Frank</media:title>
		</media:content>
	</item>
		<item>
		<title>Learning MVC: LINQ to SQL</title>
		<link>http://aspnetteam.wordpress.com/2009/02/05/learning-mvc-linq-to-sql/</link>
		<comments>http://aspnetteam.wordpress.com/2009/02/05/learning-mvc-linq-to-sql/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 15:28:19 +0000</pubDate>
		<dc:creator>Frank Adams</dc:creator>
				<category><![CDATA[MVC]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://aspnetteam.wordpress.com/?p=92</guid>
		<description><![CDATA[I am in the process of watching a video about pulling back records form a database using LINQ to SQL.  This is new functionality that comes in .NET 3.0 or 3.5 (not exactly sure which one). I do know MVC is not available to use unless you have Framework 3.5 installed so we will go [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=92&subd=aspnetteam&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">I am in the process of watching a video about pulling back records form a database using LINQ to SQL.<span>  </span>This is new functionality that comes in .NET 3.0 or 3.5 (not exactly sure which one). I do know MVC is not available to use unless you have Framework 3.5 installed so we will go with that anyway. I was just looking at a video that indicate there are two ways to run a ‘query’ using LINQ to SQL. <span> </span>Below are the two ways. We were working with movies so the queries are for movies. Here they are:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Query Syntax:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:blue;font-family:Consolas;">Dim</span><span style="font-size:12pt;font-family:Consolas;"> movies = From m In dataContext.Movies <span style="color:blue;">Select</span> m</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Method Syntax:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:blue;font-family:Consolas;">Dim</span><span style="font-size:12pt;font-family:Consolas;"> movies = dataContext.Movies.Select(<span style="color:blue;">Function</span>(m) m)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Both of the statements pull back all rows from the movies table. Pretty crazy if you ask me.<span>  </span>I personally like the first statement.<span>  </span>It is easier to read in my opinion.<span>  </span>I will be venturing into learning MVC with the help of several people (<a href="http://weblogs.asp.net/scottgu/default.aspx" target="_blank">Scott Guthrie</a>, <a href="http://www.stephenwalther.com/blog/default.aspx" target="_blank">Stephan Walther</a>, and <a href="http://www.hanselman.com/blog/" target="_blank">Scott Hanselman</a> amoung others [Google]). I don’t think there are many books out on it yet.<span>  </span>I am usign MVC release candidate currently. As I go through the steps of learning I will post what I learn. I will also post the steps to getting to this point at a later date. Have fun coding and as always, if there are any questions or suggestions, they are welcome. Thank you.</span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aspnetteam.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aspnetteam.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aspnetteam.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aspnetteam.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aspnetteam.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aspnetteam.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aspnetteam.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aspnetteam.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aspnetteam.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aspnetteam.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=92&subd=aspnetteam&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://aspnetteam.wordpress.com/2009/02/05/learning-mvc-linq-to-sql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e7de40145b3f1678a34b54c67d2c8e44?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Frank</media:title>
		</media:content>
	</item>
		<item>
		<title>Having Issues w/ Local Development and MS Server 2008</title>
		<link>http://aspnetteam.wordpress.com/2009/01/08/having-issues-w-local-development-and-ms-server-2008/</link>
		<comments>http://aspnetteam.wordpress.com/2009/01/08/having-issues-w-local-development-and-ms-server-2008/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 19:40:26 +0000</pubDate>
		<dc:creator>Frank Adams</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Venting]]></category>

		<guid isPermaLink="false">http://aspnetteam.wordpress.com/?p=86</guid>
		<description><![CDATA[Our organization recently (within the last week) switched from server 2003 to server 2008.  When we were on server 2003 I developed my .net applications locally on my workstation, tested them and then uploaded to the development server for testing by the customer. That worked out well because both instances were running the same environments.  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=86&subd=aspnetteam&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Our organization recently (within the last week) switched from server 2003 to server 2008.<span>  </span>When we were on server 2003 I developed my .net applications locally on my workstation, tested them and then uploaded to the development server for testing by the customer. That worked out well because both instances were running the same environments.<span>  </span>Now that we have gone to windows 2008, I can no longer develop on my workstation and upload to the development server. For one the environments are different. I use IIS 6 and server 2008 uses IIS 7. Another change is the development structure. I used the same directory structure as development and now it has changed because of incorporating CMS into our coding. It has been a long time coming. I am glad it is finally being implemented. Also there are differences in the OS&#8217;s so when I develop on my workstation I have to change code to work on the new development environment. It wouldn’t be so bad except that when there is an error, how does one troubleshoot if the environments are different?<span>  </span>Hence the steps of setting up remote debugging. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Well, that is another story. I have tried, I have connected, I have not successfully hit a break point yet.<span>  </span>I hope to have that fixed very soon. Once I can debug remotely, it should make it a bit easier, in theory anyway. The reason I brought this up in the first place is that I had an application almost completed and one of the last things I worked on was the addition of using the windows desktop search within the application which I have wrote about in the past. I&#8217;ll tell you what, in the 2008 environment, it has changed. What worked previously does not work currently. The syntax is different.<span>  </span>Triflin’! Anyway, I just wanted to put that out there. When I find the difference (which there is not much documentation on it at all) I will post it and name it the same but for server 2008 or something like that. Until then, have fun coding and as always, if there are any questions or suggestions, they are welcome. Thank you. </span></p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Consolas;">Oh, and Happy Birthday Elvis!</span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aspnetteam.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aspnetteam.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aspnetteam.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aspnetteam.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aspnetteam.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aspnetteam.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aspnetteam.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aspnetteam.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aspnetteam.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aspnetteam.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aspnetteam.wordpress.com&blog=4774049&post=86&subd=aspnetteam&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://aspnetteam.wordpress.com/2009/01/08/having-issues-w-local-development-and-ms-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e7de40145b3f1678a34b54c67d2c8e44?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Frank</media:title>
		</media:content>
	</item>
	</channel>
</rss>