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

<channel>
	<title>Castner IT Blog &#187; Uncategorized</title>
	<atom:link href="http://www.castnerit.com.au/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.castnerit.com.au/blog</link>
	<description>ASP.NET, SEO, Small Business IT</description>
	<lastBuildDate>Thu, 12 Jan 2012 21:59:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SEO &#8211; Free Press Release Service</title>
		<link>http://www.castnerit.com.au/blog/2010/09/seo-free-press-release-service/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=seo-free-press-release-service</link>
		<comments>http://www.castnerit.com.au/blog/2010/09/seo-free-press-release-service/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 02:55:06 +0000</pubDate>
		<dc:creator>Grant Castner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.castnerit.com/blog/?p=149</guid>
		<description><![CDATA[A key component of search engine optimisation is generating links to your web site from popular sites such as news web sites. Press releases are one method of generating these links. A free press release service that you can use is: http://www.prlog.org/ From the prlog web site: Press Release Distribution Distribution to Google News. Distribution to [...]]]></description>
			<content:encoded><![CDATA[<p>A key component of search engine optimisation is generating links to your web site from popular sites such as news web sites. Press releases are one method of generating these links. A free press release service that you can use is:</p>
<p><a href="http://www.prlog.org/">http://www.prlog.org/</a></p>
<p>From the prlog web site:</p>
<p>Press Release Distribution</p>
<ul>
<li><span style="font-size: small;">Distribution to <strong>Google News</strong>.</span></li>
<li><span style="font-size: small;">Distribution to numerous search engines.</span></li>
<li><span style="font-size: small;">Numerous javascript, html &amp; RSS feeds.</span></li>
<li><span style="font-size: small;">Customizable realtime/daily/weekly alerts.</span></li>
<li><span style="font-size: small;">Powerful advanced search.</span></li>
<li><span style="font-size: small;">Your own Press Room</span></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.castnerit.com.au/blog/2010/09/seo-free-press-release-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Student Position available at Castner IT</title>
		<link>http://www.castnerit.com.au/blog/2010/08/student-position-available-at-castner-it/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=student-position-available-at-castner-it</link>
		<comments>http://www.castnerit.com.au/blog/2010/08/student-position-available-at-castner-it/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 22:06:55 +0000</pubDate>
		<dc:creator>Grant Castner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.castnerit.com/blog/?p=139</guid>
		<description><![CDATA[Castner IT is an IT consulting firm that provides business system analysis, web development, and intranet development services to companies in Australia and the United States. We offer services across the full development lifecycle and develop systems using ASP.NET, C#, SharePoint, and SQL Server. We currently have a position opening for a suitably qualified person [...]]]></description>
			<content:encoded><![CDATA[<p>Castner IT is an IT consulting firm that provides business system analysis, web development, and intranet development services to companies in Australia and the United States. We offer services across the full development lifecycle and develop systems using ASP.NET, C#, SharePoint, and SQL Server.</p>
<p>We currently have a position opening for a suitably qualified person to assist on a number of projects on a casual contract basis. The amount of work will average 1-2 days a week and would ideally suit a student studying information technology or information systems looking to gain industry experience and a willingness to learn.</p>
<p>The job role involves the following tasks:</p>
<ul>
<li>Assisting with the setup of online courses (including uploading files, entering survey and quiz questions, writing course and subject summaries)</li>
<li>Assisting with the writing of user manuals and tutorials for a company intranet</li>
<li>Assisting with development of PowerPoint slides on small business use of the Internet</li>
<li>Assisting with development of ASP.NET/C#/SQL Server web applications</li>
</ul>
<p>Required Skills</p>
<ul>
<li>Web page development</li>
<li>Microsoft Office 2007/2010 (Word and PowerPoint)</li>
<li>Excellent written communication skills</li>
<li>Ability to work unsupervised</li>
<li>Proactive attitude</li>
</ul>
<p>Bonus Skills &#8211; one or more of these skills would be great but we will provide training if you don&#8217;t have them.</p>
<ul>
<li>ASP.NET application development</li>
<li>Experience with online learning systems such as Blackboard or Moodle</li>
<li>Experience with content management systems such as SharePoint or Joomla</li>
<li>Please email enquiries@castnerit.com with your cv and a cover letter addressing the job role and required skills.</li>
</ul>
<p>Job Posted: 4 August 2010<br />
Position closes: 18 August 2010</p>
]]></content:encoded>
			<wfw:commentRss>http://www.castnerit.com.au/blog/2010/08/student-position-available-at-castner-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A random list of recommended software utilities</title>
		<link>http://www.castnerit.com.au/blog/2008/07/an-random-list-of-recommended-software-utilities/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=an-random-list-of-recommended-software-utilities</link>
		<comments>http://www.castnerit.com.au/blog/2008/07/an-random-list-of-recommended-software-utilities/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 23:45:30 +0000</pubDate>
		<dc:creator>Grant Castner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Google Apps]]></category>
		<category><![CDATA[GridView]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">http://castnerit.com/blog/?p=60</guid>
		<description><![CDATA[I&#8217;ve found this random list of software to be really useful for tasks from working with images to improving Internet Explorer to developing FaceBook applications. 1. IrfanView (www.irfanview.com) &#8211; great for basic image editing (resizing, cropping, creating thumbnails, etc.) and screen capturing. 2. WinRAR (www.rarlabs.com) &#8211; great for working with zip and other compressed files. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve found this random list of software to be really useful for tasks from working with images to improving Internet Explorer to developing FaceBook applications.</p>
<p>1. IrfanView (<a href="http://www.irfanview.com/">www.irfanview.com</a>) &#8211; great for basic image editing (resizing, cropping, creating thumbnails, etc.) and screen capturing.</p>
<p>2. WinRAR (<a href="http://www.rarlabs.com/">www.rarlabs.com</a>) &#8211; great for working with zip and other compressed files. Also great for working with CD and DVD image files (e.g. .iso files)</p>
<p>3. Internet Explorer Developer Toolbar (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=E59C3964-672D-4511-BB3E-2D5E1DB91038&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=E59C3964-672D-4511-BB3E-2D5E1DB91038&amp;displaylang=en</a>) &#8211; useful tool if you develop web pages.Has a host of features to analyze and validate HTML, CSS, and other web site features. Includes a feature to see how your site looks at different screen resolutions.</p>
<p>5. FaceBook Developer Toolkit (<a href="http://www.codeplex.com/FacebookToolkit">http://www.codeplex.com/FacebookToolkit</a>) &#8211; allows you to build FaceBook apps within Visual Studio.</p>
<p>6. Microsoft Office Outlook Connector (<a href="http://www.microsoft.com/Downloads/details.aspx?FamilyID=7aad7e6a-931e-438a-950c-5e9ea66322d4&amp;displaylang=en">http://www.microsoft.com/Downloads/details.aspx?FamilyID=7aad7e6a-931e-438a-950c-5e9ea66322d4&amp;displaylang=en</a>) &#8211; &#8220;With Microsoft Office Outlook Connector, you can use Microsoft Office Outlook 2003 or Microsoft Office Outlook 2007 to access and manage your Microsoft Windows Live Hotmail or Microsoft Office Live Mail accounts, including e-mail messages and contacts.&#8221;</p>
<p>7. NMap (<a href="http://nmap.org/">http://nmap.org/</a>) is a useful tool for IT security. It performs a variety of network scans that can potentially highlight weaknesses in your network security.</p>
<p>8. MacDrive 7 (<a href="http://www.mediafour.com/products/macdrive/">http://www.mediafour.com/products/macdrive/</a>) allows you to see and use your Mac hard disks when running windows. I find it especially useful when running bootcamp and I want to access files from the Mac partition.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.castnerit.com.au/blog/2008/07/an-random-list-of-recommended-software-utilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting SQL Server newline character to HTML break &lt;br/&gt;</title>
		<link>http://www.castnerit.com.au/blog/2008/07/converting-newline-character-to/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=converting-newline-character-to</link>
		<comments>http://www.castnerit.com.au/blog/2008/07/converting-newline-character-to/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 05:50:17 +0000</pubDate>
		<dc:creator>Grant Castner</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Sausage Sizzle Map]]></category>
		<category><![CDATA[Small Business Online]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[A common scenario (at least for me) is the following: 1. Accept text input into a web form that includes multiline text boxes. The text often includes line breaks. 2. The text is stored in a database such as SQL Server 2005. SQL Server 2005 has no problem storing the line breaks. 3. I then [...]]]></description>
			<content:encoded><![CDATA[<p>A common scenario (at least for me) is the following:</p>
<p>1. Accept text input into a web form that includes multiline text boxes. The text often includes line breaks.<br />
2. The text is stored in a database such as SQL Server 2005. SQL Server 2005 has no problem storing the line breaks.<br />
3. I then display the data in an ASP.NET gridview control. Because the control renders as HTML, it doesn&#8217;t recognize the newline escape characters.</p>
<p>The problem is how to convert the newline characters into &lt;br /&gt;. Here is one solution. It is closely based on this MSDN article: <a href="http://msdn2.microsoft.com/en-us/library/xwewhkd1.aspx">http://msdn2.microsoft.com/en-us/library/xwewhkd1.aspx</a> (regex.replace)</p>
<p>This C# example assumes you are using an ASP.NET FormView with a label called lblSampleText:<br />
<code><br />
//Create a regular expression that matches a newline<br />
string pattern = "\n";<br />
Regex rgx = new Regex(pattern);<br />
//Find the relevant label from the FormView<br />
Label vL1 = checked((Label)FormView1.FindControl("lblSampleText"));<br />
string inputStr = vL1.Text;<br />
//Replace the newline character with br<br />
string outputStr = rgx.Replace(inputStr,"&lt;br/&gt;");<br />
// Display the resulting string<br />
vL1.Text = outputStr;</code></p>
<p>This VB example assumes you are using a GridView with a TemplateField control. Inside the TemplateField control (ItemTemplate) is a label called lblSampleText.</p>
<p><code>Protected Sub GridView3_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView3.RowDataBound<br />
If e.Row.RowType = DataControlRowType.DataRow Then<br />
' Create a regular expression that matches a newline<br />
Dim pattern As String = "\n"<br />
Dim rgx As New Regex(pattern)<br />
' Find the relevant label from the gridview<br />
Dim inputStr As String = CType(e.Row.FindControl("lblSampleText"), Label).Text<br />
' Replace the newline character with &lt;br/&gt;<br />
Dim outputStr As String = rgx.Replace (inputStr, "&lt;br/&gt;")<br />
' Display the resulting string.<br />
CType(e.Row.FindControl("lblSampleText"), Label).Text = outputStr<br />
End If<br />
End Sub<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.castnerit.com.au/blog/2008/07/converting-newline-character-to/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Configuring SQL Server 2005 for database-driven web pages</title>
		<link>http://www.castnerit.com.au/blog/2008/07/configuring-sql-server-2005-for-database-driven-web-pages/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=configuring-sql-server-2005-for-database-driven-web-pages</link>
		<comments>http://www.castnerit.com.au/blog/2008/07/configuring-sql-server-2005-for-database-driven-web-pages/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 14:33:16 +0000</pubDate>
		<dc:creator>Grant Castner</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Small Business Online]]></category>

		<guid isPermaLink="false">http://castnerit.com/blog/?p=22</guid>
		<description><![CDATA[SQL Server 2005 has enhanced security that prevents it initially from serving data for web pages. Here are the configuration settings to check before trying to create database driven web pages in Visual Studio, Dreamweaver, or any other web design application. Note that some of these settings reduce the security level of SQL Server 2005. [...]]]></description>
			<content:encoded><![CDATA[<p>SQL Server 2005 has enhanced security that prevents it initially from serving data for web pages. Here are the configuration settings to check before trying to create database driven web pages in Visual Studio, Dreamweaver, or any other web design application. Note that some of these settings reduce the security level of SQL Server 2005.</p>
<p>SURFACE AREA CONFIGURATION</p>
<p>1. Go to Programs &#8211;&gt; Microsoft SQL Server 2005 &#8211;&gt; Configuration Tools &#8211;&gt; SQL Server Surface Area Configuration<br />
2. Click on Surface Area Configuration for Services and Connections<br />
3. Expand Database Engine and Click on Remote Connections<br />
4. Select local and remote connections and TCP/IP and named pipes.<br />
FIREWALL CONFIGURATION</p>
<p>1. Make sure your firewall allows TCP port 1433.<br />
WIRELESS ROUTER CONFIGURATION (if you have one!)</p>
<p>1. Go to port forwarding and forward port 1433 to the internal IP address of the machine running SQL Server 2005 (e.g. 192.168.1.1).<br />
SQL SERVER CONFIGURATION</p>
<p>1. The simplest (but not most secure) method of authenticating a web page query to a database is to use SQL Server authentication. This requires your server to allow Mixed authentication. The more secure method of authentication is windows authentication. For an excellent description on how to set up and use windows authentication with ASP.NET, visit <a href="http://www.spaanjaars.com/QuickDocId.aspx?quickdoc=395">http://www.spaanjaars.com/QuickDocId.aspx?quickdoc=395</a>. If you want to use mixed authentication: </p>
<p>2. Open Microsoft SQL Server Management Studio<br />
3. Authenticate in the usual way (usually Windows Authentication)<br />
4. In the Object Explorer, right click on the name of the server and select properties.<br />
5. Click on the security page and select SQL Server and Windows authentication.</p>
<p>CREATE A NEW SQL SERVER LOGIN (if using SQL Server authentication)</p>
<p>1. Open Microsoft SQL Server Management Studio<br />
2. In object explorer, expand the security folder and right-click on Logins.<br />
3. Select New Login<br />
4. Type in your new username and select SQL Server authentication.<br />
5. Type and confirm a password.<br />
6. [Optional] Uncheck enforce password policy and User must change password at next login.<br />
7. Choose the default database.<br />
8. Click OK<br />
9. In the object explorer, click on the name of your database, expand the folder, and expand the security folder.<br />
10. Click on users and if the user you created is not listed, right-click on users and select new user.<br />
11. The login name needs to be the user you just created (click on &#8230; to select a user from a list of users). The username can be the same if you wish.<br />
12. Select the relevant database roles (e.g. db_datareader and db_datawriter).<br />
13. Click OK</p>
<p>Hope this helps!<br />
Grant</p>
]]></content:encoded>
			<wfw:commentRss>http://www.castnerit.com.au/blog/2008/07/configuring-sql-server-2005-for-database-driven-web-pages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Microsoft Outlook to consolidate your email</title>
		<link>http://www.castnerit.com.au/blog/2008/07/using-microsoft-outlook-to-consolidate-your-email/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-microsoft-outlook-to-consolidate-your-email</link>
		<comments>http://www.castnerit.com.au/blog/2008/07/using-microsoft-outlook-to-consolidate-your-email/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 14:24:53 +0000</pubDate>
		<dc:creator>Grant Castner</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Google Apps]]></category>

		<guid isPermaLink="false">http://castnerit.com/blog/?p=19</guid>
		<description><![CDATA[1. uoregon email The UO IT department has a great page with instructions for viewing your uoregon e-mail through Outlook and other e-mail programs: http://it.uoregon.edu/help/email/setup.shtml 2. Hotmail Use the Microsoft Outlook connector available at http://www.microsoft.com/downloads/details.aspx?FamilyID=7aad7e6a-931e-438a-950c-5e9ea66322d4&#38;displaylang=en 3. Gmail Follow the instructions at http://mail.google.com/support/bin/answer.py?answer=86374 (POP) or http://mail.google.com/support/bin/answer.py?answer=77689&#38;topic=12814 (IMAP)]]></description>
			<content:encoded><![CDATA[<p><strong>1. uoregon</strong> <strong>email</strong></p>
<p>The UO IT department has a great page with instructions for viewing your uoregon e-mail through Outlook and other e-mail programs:</p>
<p><a href="http://it.uoregon.edu/help/email/setup.shtml">http://it.uoregon.edu/help/email/setup.shtml</a></p>
<p><strong>2. Hotmail</strong></p>
<p>Use the Microsoft Outlook connector available at <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7aad7e6a-931e-438a-950c-5e9ea66322d4&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=7aad7e6a-931e-438a-950c-5e9ea66322d4&amp;displaylang=en</a></p>
<p><strong>3. Gmail</strong></p>
<p>Follow the instructions at <a href="http://mail.google.com/support/bin/answer.py?answer=86374">http://mail.google.com/support/bin/answer.py?answer=86374</a> (POP) or <a href="http://mail.google.com/support/bin/answer.py?answer=77689&amp;topic=12814">http://mail.google.com/support/bin/answer.py?answer=77689&amp;topic=12814</a> (IMAP)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.castnerit.com.au/blog/2008/07/using-microsoft-outlook-to-consolidate-your-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic error handling for ASP.NET web sites</title>
		<link>http://www.castnerit.com.au/blog/2008/07/basic-error-handling-for-aspnet-web-sites/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=basic-error-handling-for-aspnet-web-sites</link>
		<comments>http://www.castnerit.com.au/blog/2008/07/basic-error-handling-for-aspnet-web-sites/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 14:13:48 +0000</pubDate>
		<dc:creator>Grant Castner</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://castnerit.com/blog/?p=17</guid>
		<description><![CDATA[To avoid displaying the complicated error messages displayed by the .NET framework, you can direct users to a more user-friendly page by inserting the following tags into your web.config file: &#60;customErrors mode=&#8221;RemoteOnly&#8221; defaultRedirect=&#8221;errors/error.aspx&#8221;&#62;&#160;&#160;&#160;&#160; &#60;error statusCode=&#8221;404&#8243; redirect=&#8221;errors/error404.aspx&#8221;/&#62;&#60;/customErrors&#62; Using this method of error handling also has the added benefit of not displaying sensitive server information to the [...]]]></description>
			<content:encoded><![CDATA[<p><P mce_keep="true">To avoid displaying the complicated error messages displayed by the .NET framework, you can direct users to a more user-friendly page by inserting the following tags into your web.config file:</P><br />
<P mce_keep="true">&lt;customErrors mode=&#8221;RemoteOnly&#8221; defaultRedirect=&#8221;errors/error.aspx&#8221;&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;error statusCode=&#8221;404&#8243; redirect=&#8221;errors/error404.aspx&#8221;/&gt;<BR>&lt;/customErrors&gt;</P><br />
<P mce_keep="true">Using this method of error handling also has the added benefit of not displaying sensitive server information to the user (or potential hacker). &#8220;RemoteOnly&#8221; means that the error messages are still displayed in their normal format if viewing the pages on the web server itself. You can also view the error messages in the server&#8217;s event viewer or e-mail the errors to a system administrator by inserting the following code (or similar) into your global.asax file:</P><br />
<P mce_keep="true">&nbsp;&nbsp;&nbsp; Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim varCurrentException As Exception<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; varCurrentException = Server.GetLastError.InnerException()<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8216;E-mail to system administrator<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim client As New SmtpClient<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim message As New MailMessage<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; message.Body = &#8220;Error: &#8221; &amp; varCurrentException.ToString &amp; &#8220;&lt;br/&gt;&lt;br/&gt;Source: &#8221; &amp; Request.Url.ToString<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; message.Subject = &#8220;DSC488588 Web Site Error&#8221;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; message.From = New MailAddress(&#8220;<A href="mailto:name@u" mce_href="mailto:name@u">name@</A>domain.com&#8221;, &#8220;System Adminstrator&#8221;)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; message.IsBodyHtml = True &#8216;Assume HTML format for website owner</P><br />
<P mce_keep="true">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; message.To.Add(&#8220;<A href="mailto:name@u" mce_href="mailto:name@u">name@</A>domain.com&#8221;)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client.Send(message)<BR>&nbsp;&nbsp;&nbsp; End Sub</P><br />
<P mce_keep="true">Remember that it is better to explicitly handle individual errors&nbsp;(for example,&nbsp;using Try, Catch)&nbsp;rather than relying on this catch-all method for handling all errors. Use this method for detecting any remaining errors but consider handling them individually if they reoccur.</P></p>
]]></content:encoded>
			<wfw:commentRss>http://www.castnerit.com.au/blog/2008/07/basic-error-handling-for-aspnet-web-sites/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Connecting to your LCB network folder (I: Drive) from your laptop or home desktop</title>
		<link>http://www.castnerit.com.au/blog/2008/07/connecting-to-your-lcb-network-folder-i-drive-from-your-laptop-or-home-desktop/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=connecting-to-your-lcb-network-folder-i-drive-from-your-laptop-or-home-desktop</link>
		<comments>http://www.castnerit.com.au/blog/2008/07/connecting-to-your-lcb-network-folder-i-drive-from-your-laptop-or-home-desktop/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 15:11:41 +0000</pubDate>
		<dc:creator>Grant Castner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[GridView]]></category>

		<guid isPermaLink="false">http://castnerit.com/blog/?p=31</guid>
		<description><![CDATA[If you want to connect to your LCB network drive (I: drive) from home, here are the steps: 1. If you connect to the Internet via a service provider other than the UO (e.g. Comcast, QWest), then you need to download and install the VPN (virtual private network) software available from http://micro.uoregon.edu/getconnected/ or obtain a [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to connect to your LCB network drive (I: drive) from home, here are the steps:</p>
<p>1. If you connect to the Internet via a service provider other than the UO (e.g. Comcast, QWest), then you need to download and install the VPN (virtual private network) software available from <a href="http://micro.uoregon.edu/getconnected/">http://micro.uoregon.edu/getconnected/</a> or obtain a duckware CD from computing services in the McKenzie building (room 151). You do not need to run the VPN software if you are connecting through the UO wireless network.</p>
<p>2. Each time you want connect to your I: drive from home, first run the VPN software. The VPN software does two things. It sets up a secure tunnel between your computer and the UO network and it gives you a UO IP address.</p>
<p>3. Open up any window (e.g. My Documents)</p>
<p>4. In the address bar, type in \\lcb1\undergrads\yourusername or \\lcb1.uoregon.edu\undergrads\yourusername. If you can&#8217;t see the address bar, go to View &#8211;&gt; Toolbars &#8211;&gt; Address Bar. For MBA students replace the <em>undergrads </em>with <em>MBAs</em>.<br />
5. You will be prompted for a username and password. The username is in the LCB\yourusername format. The password is the password you use to logon to the computers in the Chiles computer lab.</p>
<p>6. You will now see your I: Drive files.</p>
<p>Note that it won&#8217;t be called &#8220;I: drive&#8221; on your computer unless you map your directory to your I: drive (not required though). To do this:</p>
<p>1. Go to Tools &#8211;&gt; Map Network drive.<br />
2. Change the drive to I: drive.<br />
3. The folder is <a href="file://\\lcb1.uoregon.edu\undergrads\yourusername">\\lcb1.uoregon.edu\undergrads\yourusername</a>?<br />
4. Click on <strong>Connect using a different user name</strong>.<br />
5. Type in your username (LCB\yourusername) and password.<br />
6. Click on OK then Finish.</p>
<p>Note that you will often see a &#8220;Cannot reconnect&#8221; error message when you turn on your computer after mapping your I: network drive. This error occurs because you are not connected to the VPN when you first login.</p>
<p><strong>For Mac Users:</strong></p>
<p>1. In Finder, go to Go &#8211;&gt; Connect to Server<br />
2. Type in smb://lcb1.uoregon.edu/undergrads/yourusername<br />
3. Enter your LCB username and password when prompted (you don&#8217;t need the LCB\ in front of your username)<br />
4. For MBA students replace <em>undergrads</em> with <em>MBAs </em>at step 2.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.castnerit.com.au/blog/2008/07/connecting-to-your-lcb-network-folder-i-drive-from-your-laptop-or-home-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the ASP.NET calendar control to display event information</title>
		<link>http://www.castnerit.com.au/blog/2008/07/using-the-aspnet-calendar-control-to-display-event-information/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-the-aspnet-calendar-control-to-display-event-information</link>
		<comments>http://www.castnerit.com.au/blog/2008/07/using-the-aspnet-calendar-control-to-display-event-information/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 06:48:16 +0000</pubDate>
		<dc:creator>Grant Castner</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Small Business Online]]></category>

		<guid isPermaLink="false">http://castnerit.com/blog/?p=14</guid>
		<description><![CDATA[The calendar control is useful for displaying event dates that users can then click on for more information. Here are the steps for setting up the calendar control to display event information from database. 1. Place a calendar control on the required page (for example, default.aspx) 2. Create a second page called calendar.aspx for displaying [...]]]></description>
			<content:encoded><![CDATA[<p><P>The calendar control is useful for displaying event dates that users can then click on for more information. Here are the steps for setting up the calendar control to display event information from database.</P><br />
<P>1. Place a calendar control on the required page (for example, <EM>default.aspx)</EM></P><br />
<P>2. Create a second page called <EM>calendar.aspx</EM> for displaying the event information.</P><br />
<P>3. In your codebehind file for the page with the calendar control&nbsp;(<EM>default.aspx.vb</EM> in my example), create the SelectionChanged Sub for your calendar control (<EM>calendar1</EM> in my example) and enter</P><br />
<P>&nbsp; Protected Sub Calendar1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calendar1.SelectionChanged<BR>&nbsp;&nbsp;&nbsp; &#8216; Display calendar details when date selected<BR>&nbsp;&nbsp;&nbsp; Dim eventDateSelected As String<BR>&nbsp;&nbsp;&nbsp; eventDateSelected = Format(Calendar1.SelectedDate.Date, &#8220;MM/dd/yyyy&#8221;).ToString<BR>&nbsp;&nbsp;&nbsp; Response.Redirect(&#8220;calendar.aspx?eventDate=&#8221; &amp; eventDateSelected)<BR>&nbsp; End Sub</P><br />
<P>The code above retrieves the date clicked on by the user <EM>(Calendar1.SelectedDate.Date</EM>), formats the date, and redirects the user to calendar.aspx with the date selected as a querystring. You will need to format the date to match the format of the date in your database <EM>events</EM> table.</P><br />
<P>4. In calendar.aspx, use a data control such as a detailsview or formview to display the information.</P><br />
<P>5. When setting up your formview or detailsview data source (assuming that you are using Visual Studio or Visual Web Developer), click the <STRONG>Where</STRONG> button to create the querystring criteria. The column should be your date column, the <STRONG>Source</STRONG> should be <STRONG>QueryString</STRONG>, and the <STRONG>QueryString</STRONG> Field should be <EM>eventDate </EM>(if you are using the code above).</P><br />
<P>One thing I should stress is that the date format from the database needs to match the date format of the query string. I use a SQL Server 2005 database to store event data. In the view I created to display event information, I use the following conversion to extract the date from the <EM>eventDate</EM> column&nbsp;and match it with the query string:</P><br />
<P><EM>CONVERT (nvarchar(30), eventDate, 101)</EM></P><br />
<P>101 is one of the predefined date formats.</P></p>
]]></content:encoded>
			<wfw:commentRss>http://www.castnerit.com.au/blog/2008/07/using-the-aspnet-calendar-control-to-display-event-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search engine tools</title>
		<link>http://www.castnerit.com.au/blog/2008/07/search-engine-tools/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=search-engine-tools</link>
		<comments>http://www.castnerit.com.au/blog/2008/07/search-engine-tools/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 06:43:55 +0000</pubDate>
		<dc:creator>Grant Castner</dc:creator>
				<category><![CDATA[Small Business]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://castnerit.com/blog/?p=12</guid>
		<description><![CDATA[These tools can help you analyze your pages and optimize them for improved search engine rankings. 1. Yahoo Site Explorer: Allows you to see which pages are linking to your site. For example, link:isom.uoregon.edu will show you all pages that link to isom.uoregon.edu 2. Google Webmaster tools: Tools that ensure Google is indexing your site [...]]]></description>
			<content:encoded><![CDATA[<p><P mce_keep="true">These tools can help you analyze your pages and optimize them for improved search engine rankings.</P><br />
<P mce_keep="true">1. <A class="" title="Yahoo Site Explorer" href="http://siteexplorer.search.yahoo.com/" mce_href="http://siteexplorer.search.yahoo.com/">Yahoo Site Explorer</A>: Allows you to see which pages are linking to your site. For example, link:isom.uoregon.edu will show you all pages that link to isom.uoregon.edu</P><br />
<P mce_keep="true">2. <A class="" title="Google webmaster tools" href="http://www.google.com/webmasters/" mce_href="http://www.google.com/webmasters/">Google Webmaster tools</A>: Tools that ensure Google is indexing your site correctly.</P><br />
<P mce_keep="true"><EM>More tools coming soon.</EM></P><br />
<P mce_keep="true">Some of the information in this post is from a presentation given by Andrea Loreto of <A class="" title="SEO Architect" href="http://www.seo-architect.com/" mce_href="http://www.seo-architect.com/">SEO Architect</A></P></p>
]]></content:encoded>
			<wfw:commentRss>http://www.castnerit.com.au/blog/2008/07/search-engine-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

