M
Marcel Balcarek
I am converting an ASP page to ASP .NET.
The original has the following:
#INCLUDE FILE="logAction.asp"
The included file holds some commonly used methods. When I rename it to
aspx files and run I get the following error on the first function
definition in the include file:
BC30289: Statement cannot appear within a method body. End of method
assumed.
on:
Line 2: <%
Line 3: Function LogAction(ActionId, ExecTm, ExecResultText)
Line 4:
Line 5: ' Logs user activity
Source File: D:\CAS\DOT NET\webFatality\Fatality\logAction.aspx Line: 3
How can I successfully use these included files?
Thanks for any help.
Marcel
The original has the following:
#INCLUDE FILE="logAction.asp"
The included file holds some commonly used methods. When I rename it to
aspx files and run I get the following error on the first function
definition in the include file:
BC30289: Statement cannot appear within a method body. End of method
assumed.
on:
Line 2: <%
Line 3: Function LogAction(ActionId, ExecTm, ExecResultText)
Line 4:
Line 5: ' Logs user activity
Source File: D:\CAS\DOT NET\webFatality\Fatality\logAction.aspx Line: 3
How can I successfully use these included files?
Thanks for any help.
Marcel