<%@ Control %>
<script language="C#" runat="server">
		void EnterBtn_Click(Object Sender, EventArgs E)
		{
			Label1.Text = "嗨 " + Name.Text + " ，欢迎来到ASP.NET!";
		}
</script>

	<H3><u>一个简单的ASP.NET页面</u></H3>
	输入名字：
	<asp:textbox id="Name" runat="server" />
	<asp:button Text="Enter" OnClick="EnterBtn_Click" runat="server" ID="Button1" />
	<br><br>
	<asp:label id="Label1" runat="server" />
