Page trace mode (VB.net)
<%@ Page trace= "true" %>
<script runat = "server">
Public Function Subtract( intFirst As Integer, intSecond As Integer) As Integer
Trace.Write( " intFirst : ", intFirst)
Trace.Write("intSecond : ", intSecond)
return intFirst - intSecond
End Function
</script>
The value of 45 minus 30 is : <%=Subtract(45, 30) %>
Related examples in the same category