<?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>Chryzo&#039;s Notepad &#187; ASP.Net</title>
	<atom:link href="http://www.chryzo.net/category/development/aspnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chryzo.net</link>
	<description>Just another WordPress weblog to keep track of notes</description>
	<lastBuildDate>Tue, 01 Nov 2011 15:32:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>ASP.Net, XML, XSL-Transform</title>
		<link>http://www.chryzo.net/2009/03/aspnet-xml-xsl-transform/</link>
		<comments>http://www.chryzo.net/2009/03/aspnet-xml-xsl-transform/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 06:39:53 +0000</pubDate>
		<dc:creator>Chryzo</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://www.chryzo.net/?p=19</guid>
		<description><![CDATA[Here is a quick way to use ASP.Net to show some XML documents. One will find information such as Reponse.Write and stuff like that. Those information are for older version of ASP.Net when the xmlDocument was not implemented yet. So here is what one need: In the aspx page, use the xmlDocument control: &#60;asp:Xml ID=&#8221;xmlDoc&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick way to use ASP.Net to show some XML documents. One will find information such as Reponse.Write and stuff like that. Those information are for older version of ASP.Net when the xmlDocument was not implemented yet. So here is what one need:</p>
<p>In the aspx page, use the xmlDocument control:</p>
<div></div>
<div><span style="font-size: x-small; color: #0000ff;"></span></div>
<div><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;"></span></span></div>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;"></span></span></span></p>
<blockquote>
<p>&lt;<span style="font-size: x-small; color: #800000;"><span style="font-size: x-small; color: #800000;">asp</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">:</span></span><span style="font-size: x-small; color: #800000;"><span style="font-size: x-small; color: #800000;">Xml</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">ID</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">=&#8221;xmlDoc&#8221;</span></span><span style="font-size: x-small;"> </span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">runat</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">=&#8221;server&#8221;&gt;&lt;/</span></span><span style="font-size: x-small; color: #800000;"><span style="font-size: x-small; color: #800000;">asp</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">:</span></span><span style="font-size: x-small; color: #800000;"><span style="font-size: x-small; color: #800000;">Xml</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">&gt;</span></span></p></blockquote>
<p>In the code page, use the following code in the page_load section:</p>
<div></div>
<p><span style="font-size: x-small;"></span></p>
<blockquote>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">if</span></span><span style="font-size: x-small;"> (</span><span style="font-size: x-small; color: #008080;"><span style="font-size: x-small; color: #008080;">File</span></span><span style="font-size: x-small;">.Exists(Server.MapPath(e.Filename))){</span></p></blockquote>
<blockquote>
<div><span style="font-size: x-small;"> xmlDoc.DocumentSource = Server.MapPath(e.Filename);</span></div>
<div><span style="font-size: x-small;"> xmlDoc.TransformSource = Server.MapPath(<span style="font-size: x-small; color: #800000;"><span style="font-size: x-small; color: #800000;">&#8220;SC-SD-Transform.xsl&#8221;</span></span><span style="font-size: x-small;">);</span></span></div>
<div><span style="font-size: x-small;">}</span></div>
<div><span style="font-size: x-small;"> </span></div>
</blockquote>
<p><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;"><span style="color: #000000;">And it should be working fine now. You can also use events and such if you would rather not put it in the page_load section.</span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chryzo.net/2009/03/aspnet-xml-xsl-transform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET &amp; GridViews</title>
		<link>http://www.chryzo.net/2009/03/aspnet-gridviews/</link>
		<comments>http://www.chryzo.net/2009/03/aspnet-gridviews/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 08:04:35 +0000</pubDate>
		<dc:creator>Chryzo</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[GridView]]></category>

		<guid isPermaLink="false">http://www.chryzo.net/?p=10</guid>
		<description><![CDATA[New POC i need to do at work again. Again using ASP.NET, C# because I can&#8217;t get the web admin to actually install the PHP extensions I would like to use (such as the ones for PDO). Gridviews have to be use, so I get to coding them and coding the associated SQL Procedures. And [...]]]></description>
			<content:encoded><![CDATA[<p>New POC i need to do at work again. Again using ASP.NET, C# because I can&#8217;t get the web admin to actually install the PHP extensions I would like to use (such as the ones for PDO).</p>
<p>Gridviews have to be use, so I get to coding them and coding the associated SQL Procedures. And then I got the usual errors when trying to update an element in one of my gridviews. The error is because the SelectParameters names and the UpdateParameters names did not match.</p>
<p>GridView Select &amp; Update parameters needs to have the same names! (Well at least that solved the problem)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chryzo.net/2009/03/aspnet-gridviews/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

