<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.7.1" -->
<rss version="0.92">
<channel>
	<title>codehutch.com</title>
	<link>http://codehutch.com</link>
	<description>Online Code Repository</description>
	<lastBuildDate>Wed, 30 Sep 2009 09:35:08 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>CreateUserWizard Error: &#8220;The parameter &#8216;username&#8217; must not be empty.&#8221;</title>
		<description>To assign a role to a new user, we usually use the following code. We call this on the CreatedUser event of the ASP.NET CreateUserWizard Control:
protected void CreatedUser(object sender, EventArgs e)  {
Roles.AddUserToRole(cuwRegister.UserName, "Registered User");
}
The code worked fine for me but not when I customized the CreateUserWizard Control where I ...</description>
		<link>http://codehutch.com/2009/09/createuserwizard-error-the-parameter-username-must-not-be-empty/</link>
			</item>
	<item>
		<title>Get Return Value of Stored Procedure with SubSonic</title>
		<description>Some tasks are just too complicated for dynamic query building and/or require a greater level of control. To handle this, SubSonic supports stored procedures. Each stored procedure will produce an equivalent static method in the class defined in the configuration file. By default this is SPs. Each method will have ...</description>
		<link>http://codehutch.com/2009/09/get-return-value-of-stored-procedure-with-subsonic/</link>
			</item>
	<item>
		<title>Add New Stored Procedures to dashCommerce</title>
		<description>All stored procedures included in the configuration file (Store/App.config) have an equivalent static method in: Store/Models/Generated/StoredProcedures.cs

When I was new to dashCommerce I didn't figure this out right away.

If you created new stored procedures, you need to update this SubSonic-generated StoredProcedure class to include your new stored procedures. To do so, ...</description>
		<link>http://codehutch.com/2009/09/add-new-stored-procedures-to-dashcommerce/</link>
			</item>
	<item>
		<title>&#8216;Invalid postback or callback argument&#8217; Error in DataList</title>
		<description>I have a web user control (.ascx) that holds my product DataList. This product DataList has an 'add to cart' button in each item. When I hit one of the 'add to cart' button, the 'Invalid postback or callback argument' error shows up. Postback from other controls are fine.
&#60;asp:DataList ID="dlCatalog" ...</description>
		<link>http://codehutch.com/2009/09/invalid-postback-or-callback-argument-error-in-datalist/</link>
			</item>
	<item>
		<title>Tweet Via SMS FOR FREE!</title>
		<description>A sweet treat for Philippine resident Twitter addicts, an online application that allows users to tweet via SMS FOR FREE! The application is called, ISIP or "I Speak over Internet Protocol".
ISIP enables Filipino subscribers of Twitter to post updates to their Twitter accounts via SMS FOR FREE! Get an account ...</description>
		<link>http://codehutch.com/2009/07/tweet-via-sms-for-free/</link>
			</item>
	<item>
		<title>Twitpocalypse Is Coming</title>
		<description>That's right, the Twitpocalypse is almost here.

Before you rush out for canned food and medical supplies, let’s take a closer look at the Twitpocalypse.

The Twitpocalypse is predicted to be this monstrous event that will ravage Twitter and leave all Twitterers without a place for their 140 characters of text... and ...</description>
		<link>http://codehutch.com/2009/06/twitpocalypse-is-coming/</link>
			</item>
	<item>
		<title>Solution to &#8220;Server Application Unavailable&#8221; Error</title>
		<description>I encountered this error while running an old project, based from ASP.NET 1.1 Commerce Starter Kit and dashCommerce, previously called ASP.NET 2.0 Paypal eCommerce Starter Kit. It was recommended in dashCommerce installation to create a separate application pool solely for the dashCommerce project's virtual directory. All was running smoothly until ...</description>
		<link>http://codehutch.com/2009/05/solution-to-server-application-unavailable-error/</link>
			</item>
	<item>
		<title>Image Opacity Using CSS</title>
		<description>Here is an illustration on how to use CSS to modify the opacity of 'image-links' and create a nice effect

CSS:
img{
border:none;
}

updated version

.link img{
-ms-filter: "alpha(opacity=50)"; /*IE 8*/
filter: alpha(opacity=50); /*lower IE versions*/
opacity: 0.5; /*FF*/
}

.link:hover img{
-ms-filter: "alpha(opacity=100)"; /*IE 8*/
filter: alpha(opacity=100); /*lower IE versions*/
opacity: 1; /*FF*/
}

deprecated

.link img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
-moz-opacity: 0.5;
}

.link:hover img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
-moz-opacity: 1;
}
How to use:
&#60;a href="#" class="link" &#62;&#60;img ...</description>
		<link>http://codehutch.com/2009/05/image-opacity-using-css/</link>
			</item>
	<item>
		<title>Visual Studio &#8216;MachineToApplication&#8217; Error</title>
		<description>I was trying to deploy my Project using Visual Studio 2008 a while ago, when I encountered this Error:
"It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level This error can be caused by a virtual directory not being configured as an application in IIS."
And I ...</description>
		<link>http://codehutch.com/2009/05/visual-studio-machinetoapplication-error/</link>
			</item>
	<item>
		<title>Export DataTable To Excel (VB .NET)</title>
		<description>I was digging through my files when I found this subroutine and I thought, maybe somebody out there might need it. It's not my original code though (and I forgot where I got it). Anyhow, I just wanted to share it and here it is:
Public Sub ExportToExcel()

Dim table as Datatable ...</description>
		<link>http://codehutch.com/2009/05/export-datatable-to-excel-vb-net/</link>
			</item>
</channel>
</rss>
