Mega Code Archive

 
Categories / ASP.Net Tutorial / ASP Net Instroduction
 

ASP NET Page Directives

You can control the behavior of your ASP.NET pages by  using these directives.  Here's an example of the Page directive:  <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"     Inherits="_Default" %> Directives are commands that the compiler uses when the page is compiled.  Directives are simple to incorporate into your pages.  A directive is written in the following format: <%@ [Directive] [Attribute=Value] %> You can add more than a single attribute to your directive statements:  <%@ [Directive] [Attribute=Value] [Attribute=Value] %>