I've been working with this and made some progress until I noticed I couldn't pick up "money" feilds;
C#/VB.NET Code:
<query name="Orders" rowElementName="Order">
<sql>
<![CDATA[
select * from Orders with (NOLOCK) where OrderNumber=@OrderNumber
]]>
</sql>
<queryparam paramname="@OrderNumber" paramtype="runtime" requestparamname="OrderNumber" sqlDataType="int" defvalue="0" validationpattern="" />
<queryparam paramname="@OrderSubtotal" paramtype="runtime" requestparamname="OrderSubtotal" sqlDataType="money" defvalue="0" validationpattern="" />
<queryparam paramname="@SkinID" paramtype="runtime" requestparamname="SkinID" sqlDataType="int" defvalue="0" validationpattern="" />
<queryparam paramname="@AffiliateID" paramtype="runtime" requestparamname="AffiliateID" sqlDataType="int" defvalue="0" validationpattern="" />
</query>
All of these work except OrderSubtotal (which is a money feild), I assume I'm doing thing silly?
This appears to be NULL -
C#/VB.NET Code:
<xsl:param name="OrderSubtotalName"><xsl:value-of select="/root/Runtime/OrderSubtotal" /></xsl:param>