What is the use of @Page Directive?

 Posted by Vpramodg on 10/18/2010 | Category: ASP.NET Interview questions | Views: 3217 | Points: 40
Answer:

@Page Directive is used to specify attributes that affect the page in the .aspx page (content page).

<%@Page Language=”C#” Debug=”true” %>

<%@ Page attribute="value" [attribute="value"...] %>
Eg:
MasterPageFile
Theme
Title
Trace


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response