[thelist] asp:net Call a sub from within <script>

Casey aspnet at thecrookstons.com
Mon Dec 5 12:39:00 CST 2005

How would you execute a sub from a location not within another sub?

<script runat="server">

sub FooBar(data)
    do stuff with data
end sub



The long answer to "Why would you want to do this?" is: I need to sub te 
execute after all other subs and functions are executed, including, of 
course, page_load.



More information about the thelist mailing list