Get solution of all DOT NET,PHP,ASP,AJAX programming bugs or error like access is denied,unexpected error,fatal error,internal server error,run time error,compile time error.
Dec 12, 2007
My ASP code gives an error "Compiler Error Message: BC30289: Statement cannot appear within a method body. End of method assumed" when changed to aspx
Use a script runat="server" block instead of the <% %> syntax to define Subs.Make sure you have proper events associated with the code and have start and end of procedure or function wirtten properly.