<%@ Page Language="VB" %>

Bl0t

New Member
Hi, Could you tell me why when I put this line <%@ Page Language="VB" %> on top of the aspx page, and get this error,<BR>Parser Error Message: The directive 'Page' is unknown.<BR><BR>Thanks<BR>Matthew<%@ Page Language="vb" AutoEventWireup="false" Codebehind="file.aspx.vb" Inherits="WebApplication1.file"%><BR><BR>You use this at the first line of a web form, .aspx. It tells the dotnet processor that it is a web form and where the codebehind page is and what class it inherits.Please Ignore this post.<BR><BR>Sorry, is my fault, I actually put it into a wrong page, I put it in an ascx page.<BR><BR>Sorry :)
 
Back
Top