I was wondering if its possible to call a procedure from the code-behind section of an aspx file from inside the <%...%> part.
I know I can use labels and stuff and have them run at the server, but is it possible to do this :
Code:'' code behind '' Function strDoSomething() As String Return "test" End Function '' other part '' <html><title>hello!</title><body> <% Response.Write(strDoSomething()) %> </body></html>




Reply With Quote