I would like to be able to write a page of functions and Sub procedures, save them in a file, then import them into different documents.... in sort of the same way you Import Namespaces at the start of a document.
i.e. I could write this in my external file, called say... myfunctions:
Sub pointlessfunction(x AS String)
response.write(x)
End Sub
Then be able to write some thing like this in a new ASP.NET page:
<%@ Import myfunctions%>
<script runat="server">
Sub Page_Load
Call pointlessfunction("write this on the screen")
End Sub
</script>
Can any one tell me how to do this?
Many Thanks.
...
Go to the complete details ...