Call page level function (C#)
<script Language="c#" runat = "server">
public int Subtract(int intFirst, int intSecond)
{
return intFirst - intSecond;
}
</script>
The value of 45 minus 30 is : <%=Subtract(45, 30) %>
Related examples in the same category