<%@ Register TagPrefix="Title" TagName="TitleShow" Src="/aspnetdata/Title.ascx" %>
<html>
<head>
	<script language="C#" runat="server">
	void Page_load(Object sender,EventArgs e){
		if(Page.IsPostBack==false){
			Label1.Text="执行第";
			Label2.Text=Convert.ToInt32(Label2.Text)+1.ToString();
			Label3.Text="次";
		}
	}
	</script>
<body background="/aspnetdata/images/winback.gif">
<Title:TitleShow id="BookT" Runat="server" />
<p>PostBack说明(使用IspostBack)</p>  
<form runat="server">
<asp:Button id=el1  text="Button按钮" runat="server" />
<asp:LinkButton id=el2  text="LinkButton按钮" runat="server" />
<p><asp:Label id=Label1 align="left" runat="server" />
<asp:Label id=Label2 align="left" text="0" runat="server" />
<asp:Label id=Label3 align="left" runat="server" />
    </form>
