Monday, December 17, 2007

How to use the external function from another ASP file

How to use the external function from another ASP file

S T E P - 1

- We can use the external function from another ASP file.

- First, we need to include the external ASP file.

S T E P - 2

-We create a function in the "addition.asp" file:

<%

Function ADD()

ADD = 1+1

End Function

%>

S T E P - 3

- Now we can use the function in the "addition.asp":

<% =ADD() %>


No comments: