Using the Page Directive: Description
<%@ Page
Language=VB
EnableSessionState=false
Debug=true
Buffer=true
Explicit=true
Strict=false
Description="Sample Page directive page."
%>
<script runat=server>
Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs)
End Sub
Sub SubmitBtn_Click(Sender As Object, E As EventArgs)
End Sub
</script>
<HTML>
<HEAD>
<TITLE>Using the Page Directive</TITLE>
</HEAD>
<Body LEFTMARGIN="40">
<form runat="server">
<asp:label
id="lblDataEntered"
runat="server"
/>
<BR><BR>
Enter your Name:<BR>
<asp:textbox
id="txtName"
columns="25"
maxlength="30"
runat=server
/>
<BR><BR>
<asp:button
id="butOK"
text=" OK "
onclick="SubmitBtn_Click"
runat="server"
/>
</Form>
</BODY>
</HTML>
Related examples in the same category