<%@ Register TagPrefix="Title" TagName="TitleShow" Src="/aspnetdata/Title.ascx" %>
<%@ Register TagPrefix="Login" TagName="InputID" Src="LoginP.ascx" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Web" %>
<html>
<head>
	<script language="c#" runat="server">
	void Page_load(object sender, EventArgs e){
	}
	void btnClick(object sender,EventArgs e){
		Resault.Text="输入的ID是：" + t1.UserID + "<br>" + "密码是：" + t1.PassWord;
	}
	</script>
</head>
<body background="/aspnetdata/images/winback.gif">
<Title:TitleShow id="BookT" Runat="server" />
<form runat="server">
<Login:InputID ID="t1" UserID="John" PassWord="1234" runat="server"/>
<p><asp:Button id="btn" OnClick="btnClick" Runat="server" Text="确定" />
<p><asp:Label id="Resault" runat="Server" />
</form>
</body>