
<html>
	<head>
		<title>用户控件</title>
			<script language="C#" runat="server">
				void EnterBtn_Click(Object Sender, EventArgs e)
				{
					Label1.Text = "嗨， " + Name.Text + " 欢迎来到ASP.NET!";
				}
			</script>
	</head>	
	<body>
	<form runat=server ID="Form1">
		<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" />
	</form>
	</body>
</html>
