<?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>Quinterox &#187; html</title>
	<atom:link href="http://www.quinterox.com/content/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.quinterox.com/content</link>
	<description>Cesar Quinteros</description>
	<lastBuildDate>Sun, 20 Jun 2010 04:51:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Reading an html file</title>
		<link>http://www.quinterox.com/content/code/reading-an-html-file/</link>
		<comments>http://www.quinterox.com/content/code/reading-an-html-file/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 03:52:10 +0000</pubDate>
		<dc:creator>Cesar Quinteros</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[streamreader]]></category>

		<guid isPermaLink="false">http://quinterox.com/code/?p=22</guid>
		<description><![CDATA[A sweet and simple way to load a file's text into a textarea control.]]></description>
			<content:encoded><![CDATA[<p>This is how to read an html file, it could be used for text files too. The extension doesn&#8217;t seem to matter.</p>
<pre>
Sub readFile()
        Dim rdr As StreamReader = New StreamReader(Server.MapPath("test.htm"))
        Me.textAreaControl.InnerText = rdr.ReadToEnd
End Sub
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.quinterox.com/content/code/reading-an-html-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
