Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 20, 2012 07:46 PM by soulsinger
Nov 20, 2012 07:46 PM|LINK
I am in progress changing code. Can anyone help? I am forced to migrate old code because of upgrades. Thanks!
<% @Page Language="VB" Explicit="True" %>
If Request.ServerVariables("REQUEST_METHOD") = "POST" then
sMoYr = cstr(Request.QueryString("MoYr"))
throws this error:
An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30289: Statement cannot appear within a method body. End of method assumed.
Line 4: call Main()
Line 6: Sub Main() Line 7: If Request.ServerVariables("REQUEST_METHOD") = "POST" then
Line 8: call Header()