<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Victor's Programming Aid</title>
	
	<link>http://www.victorchen.info</link>
	<description>An array of C#, PHP, and HTML programming articles, tutorials, and resources</description>
	<lastBuildDate>Fri, 10 Jul 2009 05:36:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/victorchen/rueF" type="application/rss+xml" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">victorchen/rueF</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Javascript Confirm on ASP LinkButton</title>
		<link>http://www.victorchen.info/javascript-confirm-on-asp-linkbutton/</link>
		<comments>http://www.victorchen.info/javascript-confirm-on-asp-linkbutton/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 18:10:04 +0000</pubDate>
		<dc:creator>Victor Chen</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[confirm]]></category>
		<category><![CDATA[linkbutton]]></category>
		<category><![CDATA[onclientclick]]></category>
		<category><![CDATA[programmatically]]></category>
		<category><![CDATA[property]]></category>

		<guid isPermaLink="false">http://www.victorchen.info/771/</guid>
		<description>In your C# web application, a common task is adding items to a database. But often just as important is the ability to delete items! The first method to accomplish this goal is linking an event to a LinkButton. This event links to a method that deletes. However, because a delete operation is a times [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mfvXirBZHYYBhSG41LFBEsxFha4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mfvXirBZHYYBhSG41LFBEsxFha4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mfvXirBZHYYBhSG41LFBEsxFha4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mfvXirBZHYYBhSG41LFBEsxFha4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/victorchen/rueF/~4/Gj4G8-BVYH0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.victorchen.info/javascript-confirm-on-asp-linkbutton/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing an Internal Hard Drive on Linux</title>
		<link>http://www.victorchen.info/installing-an-internal-hard-drive-on-linux/</link>
		<comments>http://www.victorchen.info/installing-an-internal-hard-drive-on-linux/#comments</comments>
		<pubDate>Sat, 30 May 2009 16:13:07 +0000</pubDate>
		<dc:creator>Victor Chen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[fstab]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[internal]]></category>
		<category><![CDATA[mount]]></category>

		<guid isPermaLink="false">http://www.victorchen.info/?p=698</guid>
		<description>Mounting an internal hard drive in Linux is not quite as simple as installing a hard drive on a Windows machine. After installing the hard drive, there are only a few steps that I will cover below. First, before this will work, you need to make sure the motherboard recognizes there is a new hard [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TG0Nx9ONqd2Zq2GCTppaFkOhSgQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TG0Nx9ONqd2Zq2GCTppaFkOhSgQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/TG0Nx9ONqd2Zq2GCTppaFkOhSgQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TG0Nx9ONqd2Zq2GCTppaFkOhSgQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/victorchen/rueF/~4/zVytn6ikfYs" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.victorchen.info/installing-an-internal-hard-drive-on-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Get Linux Version, Build, and Distribution</title>
		<link>http://www.victorchen.info/how-to-get-linux-version-build-and-distribution/</link>
		<comments>http://www.victorchen.info/how-to-get-linux-version-build-and-distribution/#comments</comments>
		<pubDate>Wed, 27 May 2009 16:10:32 +0000</pubDate>
		<dc:creator>Victor Chen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[distribution]]></category>
		<category><![CDATA[distro]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.victorchen.info/?p=701</guid>
		<description>Getting the Linux Version, build, and Distribution is easy. In the example below, I  ran the command on a Dell Optiplex 755 running CentOS 4.6. Just run the command below in a terminal window and the output will display useful information:
cat /proc/version
Linux version 2.6.9-67.0.15.ELsmp (mockbuild@builder10.centos.org) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)) #1 SMP Thu [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0ud3pcHRbdIe-q4IJipvf-65Ky4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0ud3pcHRbdIe-q4IJipvf-65Ky4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0ud3pcHRbdIe-q4IJipvf-65Ky4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0ud3pcHRbdIe-q4IJipvf-65Ky4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/victorchen/rueF/~4/AUqIp92VsHQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.victorchen.info/how-to-get-linux-version-build-and-distribution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>301 Redirect in IIS 6.0</title>
		<link>http://www.victorchen.info/301-redirect-in-iis-60/</link>
		<comments>http://www.victorchen.info/301-redirect-in-iis-60/#comments</comments>
		<pubDate>Mon, 18 May 2009 16:09:29 +0000</pubDate>
		<dc:creator>Victor Chen</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[301 Redirect]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[Search Engine Friendly]]></category>

		<guid isPermaLink="false">http://www.victorchen.info/?p=731</guid>
		<description>If you are planning to move a website to a new domain name, the most efficient way to setup URL redirection is to with the 301 Redirect. The 301 HTTP status code means moved permanently. For this reason, it is the best method to use to preserve a website&amp;#8217;s search engine placement.
This tutorial will cover [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zqMOMkYdIOr7x2LponaApSdTWlk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zqMOMkYdIOr7x2LponaApSdTWlk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zqMOMkYdIOr7x2LponaApSdTWlk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zqMOMkYdIOr7x2LponaApSdTWlk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/victorchen/rueF/~4/8xc-7hWC--A" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.victorchen.info/301-redirect-in-iis-60/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Change Web Browser Title with Javascript</title>
		<link>http://www.victorchen.info/change-web-browser-title-with-javascript/</link>
		<comments>http://www.victorchen.info/change-web-browser-title-with-javascript/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 16:00:12 +0000</pubDate>
		<dc:creator>Victor Chen</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[title]]></category>

		<guid isPermaLink="false">http://www.victorchen.info/?p=706</guid>
		<description>Every web browser has a title at the top of the page and is specified in HTML. By default, the the title tag is located in the header of the HTML. Despite the default in HTML, it is possible to change the default title name with javascript. Below is a the basic snippet of javascript [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KB3Cu5Hee3YbOAt8PcVDDS7yVPM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KB3Cu5Hee3YbOAt8PcVDDS7yVPM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KB3Cu5Hee3YbOAt8PcVDDS7yVPM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KB3Cu5Hee3YbOAt8PcVDDS7yVPM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/victorchen/rueF/~4/cZ9wG75ttO4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.victorchen.info/change-web-browser-title-with-javascript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Directory Disk Space in Linux</title>
		<link>http://www.victorchen.info/directory-disk-space-in-linux/</link>
		<comments>http://www.victorchen.info/directory-disk-space-in-linux/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 16:22:44 +0000</pubDate>
		<dc:creator>Victor Chen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[df]]></category>

		<guid isPermaLink="false">http://www.victorchen.info/?p=703</guid>
		<description>Running Linux distribution Centos 4.6, I need to check the disk space available in a directory. For this, I use the command df, which reports the file system disk space usage.
df
This command returns the file system, the mount directory, total disk space, used disk space, and available disk space (in 1-K blocks) based on currently [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ncuzEKlzoayFs0EbuEHF1HIqVfM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ncuzEKlzoayFs0EbuEHF1HIqVfM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ncuzEKlzoayFs0EbuEHF1HIqVfM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ncuzEKlzoayFs0EbuEHF1HIqVfM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/victorchen/rueF/~4/rrhv7vkJrF8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.victorchen.info/directory-disk-space-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calculate Average in PHP Example</title>
		<link>http://www.victorchen.info/calculate-average-in-php-example/</link>
		<comments>http://www.victorchen.info/calculate-average-in-php-example/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 16:28:23 +0000</pubDate>
		<dc:creator>Victor Chen</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[example]]></category>

		<guid isPermaLink="false">http://www.victorchen.info/?p=695</guid>
		<description>To calculate the average of numbers in PHP, we first need to add up all the item, then divide by the total number of items. In our example, we will add up the eight numbers 2, 4, 5, 3, 2, 9, 11, and 9.
First, the code example:
&amp;#60;?php
  $totalRatings = 2+4+5+3+2+9+11+9;
  $totalVotes = 8;
 [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Y7tdShkidfVobrzqM_oQh6QuZrE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Y7tdShkidfVobrzqM_oQh6QuZrE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Y7tdShkidfVobrzqM_oQh6QuZrE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Y7tdShkidfVobrzqM_oQh6QuZrE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/victorchen/rueF/~4/qJQQ9mRcKv0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.victorchen.info/calculate-average-in-php-example/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating a Dropdown in HTML</title>
		<link>http://www.victorchen.info/creating-a-dropdown-in-html/</link>
		<comments>http://www.victorchen.info/creating-a-dropdown-in-html/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 16:16:21 +0000</pubDate>
		<dc:creator>Victor Chen</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[example]]></category>

		<guid isPermaLink="false">http://www.victorchen.info/?p=689</guid>
		<description>This is a quick tutorial on creating a dropdown in HTML. The example below has a name of myName and an id of myId. The main difference between the id and name is that the id is the identifier as used by javascript. On the other hand, name is the value recognized by form postbacks.
First, [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5cU7c_Pe0mJh-abYXkE46h4ZaWc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5cU7c_Pe0mJh-abYXkE46h4ZaWc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5cU7c_Pe0mJh-abYXkE46h4ZaWc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5cU7c_Pe0mJh-abYXkE46h4ZaWc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/victorchen/rueF/~4/5kjV-9YhUEg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.victorchen.info/creating-a-dropdown-in-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert String to Int in Java</title>
		<link>http://www.victorchen.info/convert-string-to-int-in-java/</link>
		<comments>http://www.victorchen.info/convert-string-to-int-in-java/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 16:04:07 +0000</pubDate>
		<dc:creator>Victor Chen</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://www.victorchen.info/?p=680</guid>
		<description>Converting a string variable to an integer variable in Java is easy. There are actually two different approaches, both equally simply. Below is an example of both approaches, with both use the same string variable to output to various integer variables.
String myVariable = &amp;#8220;12345&amp;#8243;;
Approach 1:
int approach1 = Integer.parseInt(myVariable);
Approach 2:
int approach2 = Integer.valueOf(myVariable);
If you have any [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hHGh-u5Pe5jGmg8tRlvPJF8-Uvc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hHGh-u5Pe5jGmg8tRlvPJF8-Uvc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hHGh-u5Pe5jGmg8tRlvPJF8-Uvc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hHGh-u5Pe5jGmg8tRlvPJF8-Uvc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/victorchen/rueF/~4/8DOvrlRmrqU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.victorchen.info/convert-string-to-int-in-java/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Call Static Method With a String Name in C#</title>
		<link>http://www.victorchen.info/call-static-method-with-a-string-name/</link>
		<comments>http://www.victorchen.info/call-static-method-with-a-string-name/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 04:05:00 +0000</pubDate>
		<dc:creator>Victor Chen</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[assembly]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[invoke]]></category>
		<category><![CDATA[late binding]]></category>
		<category><![CDATA[namespace]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[static method]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[type]]></category>

		<guid isPermaLink="false">http://www.victorchen.info/?p=657</guid>
		<description>The situation is as follows. You want to call a method in the currently executing namespace, but you do not know the name of the static method while coding (perhaps the method name is dynamic and saved in a database or text file). How do you dynamically call the static method with just a string [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yg6zCtBP6r_p_CIKE0DFQu2Bvpo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yg6zCtBP6r_p_CIKE0DFQu2Bvpo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yg6zCtBP6r_p_CIKE0DFQu2Bvpo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yg6zCtBP6r_p_CIKE0DFQu2Bvpo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/victorchen/rueF/~4/R2uUFSaESCY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.victorchen.info/call-static-method-with-a-string-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
