I'm trying to migrate to .NET it would seem that the books I have have left out some of the fundamental structures.
I have the traditional .NET event driven <scipt> blocks and the page load event. What I have done is write some global security proceedures in an .NET include file using <% ... %>, (Legacy ASP security).
<%
if do while anything is fine, but...
Function CheckApp(intAppid as Integer, blnDeny as Boolean) As Boolean
kicks out:
Statement cannot appear within a method body
What do I have to do in order to write functions and subs between <% %> in ASP.NET (VB)?
Thanks,
Brian
I have the traditional .NET event driven <scipt> blocks and the page load event. What I have done is write some global security proceedures in an .NET include file using <% ... %>, (Legacy ASP security).
<%
if do while anything is fine, but...
Function CheckApp(intAppid as Integer, blnDeny as Boolean) As Boolean
kicks out:
Statement cannot appear within a method body
What do I have to do in order to write functions and subs between <% %> in ASP.NET (VB)?
Thanks,
Brian