This error occurs in XSLT Processing when the function in the msxsl script is not declared as public
< msxsl:script implements-prefix ="vbadud" language="C#" >
< ![CDATA[
decimal TotalAmount(int Qty, decimal Price)
{
return Qty* Price;
}
]] >
< /msxsl:script >
Solution :
Declare the TotalAmount as public
< msxsl:script implements-prefix ="vbadud" language="C#" >
< ![CDATA[
public decimal TotalAmount(int Qty, decimal Price)
{
return Qty* Price;
}
]] >
< /msxsl:script >
No comments:
Post a Comment