<%@ Page Language="VB" %> <script runat="server"> sub Page_Load(Sender as object,e as EventArgs) MultiplyNumbers(8,9) MultiplyNumbers(4,12) MultiplyNumbers(38,23) end sub sub MultiplyNumbers(intA as integer,intB as integer) Response.Write(intA *intB &"<br>") end sub </script> <html><body> </body></html>
2.6.subroutine | ||||
2.6.1. | Define and call sub module (function) in asp.net page (VB) | |||
2.6.2. | asp:Button action event calls a subroutine | |||
2.6.3. | Pass parameters to subroutine (VB.net) |