<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>byteMyCode: Snippets for ASPX</title>
		<link>http://www.bytemycode.com</link>
		<description>Snippets for this tag.</description>
		<pubDate>Thu, 21 Aug 2008 16:58:57 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	<item>
	<title>Stream Database Photo as ASPX page...</title>
	<link>http://www.bytemycode.com/snippets/snippet/576/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/576/comments/</comments>
	<pubDate>Thu, 11 Jan 2007 09:47:26 +0000</pubDate>
	<dc:creator>Casper42</dc:creator>
	<category>ASPX, SQL, VB.NET</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/576/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Thu. Jan. 11th, 2007  9:47 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/576/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_scripter.gif" align="middle" class="icon" alt="Scripter" /> <a href="http://www.bytemycode.com/members/member/Casper42/" title="Scripter">Casper42</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/ASPX">ASPX</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/SQL">SQL</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/VB.NET">VB.NET</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/576/comments/">2 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 8
			<p>This routine will get an image stored in a SQL database (IBM Informix shown here) as a BLOB and return it to the screen.<br /><br />To place this on an HTML page simply add <br /><br />I have an MD5 hashed version as well, but can't share that...(So you can have encrypted id's passed)<br /><br />Have fun,<br />Jeremy</p>
		]]>
	</description>
</item><item>
	<title>Page Inclusion (Screen Scraping)</title>
	<link>http://www.bytemycode.com/snippets/snippet/573/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/573/comments/</comments>
	<pubDate>Thu, 11 Jan 2007 08:47:14 +0000</pubDate>
	<dc:creator>Casper42</dc:creator>
	<category>ASPX, C, CSharp</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/573/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Thu. Jan. 11th, 2007  8:47 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/573/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_scripter.gif" align="middle" class="icon" alt="Scripter" /> <a href="http://www.bytemycode.com/members/member/Casper42/" title="Scripter">Casper42</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/ASPX">ASPX</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/C">C</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/CSharp">CSharp</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/573/comments/">3 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 7
			<p>This little number will allow the contents of other pages to be included or embedded into the rendered HTML of an aspx page.  Using the WebClient class from the .NET framework, you can conditionally load pages, even manipulate the HTML before it is rendered and in this example, fill in forms and execute javascript actions.<br /><br />The following example shows how to auto-login to an Exchange Server - this was something requested for inclusion into our portal, but I left out the logic that pulls/decrypts the real password - for obvious reasons.<br /><br />Enjoy!<br />~Jeremy</p>
		]]>
	</description>
</item><item>
	<title>URL Parameters for Dynamic JS and CSS</title>
	<link>http://www.bytemycode.com/snippets/snippet/553/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/553/comments/</comments>
	<pubDate>Tue, 05 Dec 2006 14:15:45 +0000</pubDate>
	<dc:creator>Casper42</dc:creator>
	<category>ASPX, CSharp, CSS, JavaScript</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/553/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Tue. Dec. 5th, 2006  2:15 PM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/553/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_scripter.gif" align="middle" class="icon" alt="Scripter" /> <a href="http://www.bytemycode.com/members/member/Casper42/" title="Scripter">Casper42</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/ASPX">ASPX</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/CSharp">CSharp</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/CSS">CSS</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/JavaScript">JavaScript</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/553/comments/">3 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 10
			<p>This snippet allows an aspx page (c#) to accept URL parameters to allow styles or script to be dynamically appended to the rendered page.<br /><br />I wrote this simple snippet to allow one of our vendors to accept a style override so that their application would morph into something more closely resembling our own portal application.  Please see screenshots for clarification.<br /><br /><a href='http://jeremyedmiston.com/images/ats-original.jpg' target="_blank">Original Vendor Application</a><br /><br /><a href='http://jeremyedmiston.com/images/ats-override.jpg' target="_blank">Vendor Application with Style Override via URL</a></p>
		]]>
	</description>
</item>
	</channel>
</rss>