This control can hold any control generated at run time. Example:
<%@ Page Language=”C#” AutoEventWireup=”true” CodeFile=“PlaceHolder.aspx.cs” Inherits=”PlaceHolder” %>
The form tag includes a name and the code runat=”server” This little code line means that everything will be taken care of by the server.
@ Page Language=”C#”
This first segment lets the page know that the language in use is C# and not VB or some other language. It’s pretty self-explanatory.
The AutoEventWireup Boolean indicates whether the ASP.NET pages are automatically connected to event-handling functions. With C#, the default is set to true, so the pages are connected to event-handling functions.
The final section indicates the name of the C# file and what it inherits. Since the name of the ASP.NET design file is Default.aspx the CodeFile is Default.aspx.cs.
The Inherits attribute refers to the name of the class that the code inherits.