<%@ Page language="c#" Codebehind="ViewState.aspx.cs" AutoEventWireup="false" Inherits="ApplyViewState.WebForm1" enableViewState="True" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>WebForm1</title>
		<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body style="FONT: 10.5pt 宋体">
		<h3><font face="宋体">使用 PageState</font></h3>
		<form id="Form1" runat="server">
			<ASP:PANEL id="Panel0" runat="server" Visible="true">
				<TABLE style="BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT: 10.5pt 宋体; BORDER-LEFT: black 1px solid; BORDER-BOTTOM: black 1px solid; BACKGROUND-COLOR: #cccccc" height="200" width="500">
					<TR>
						<TD style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-TOP: 10px" vAlign="top">
							<TABLE style="FONT: 10.5pt 宋体" height="100%">
								<TR>
									<TD colSpan="2"><B>完成下列字段，然后选择“下一步”继续：</B></TD>
								</TR>
								<TR height="20">
								<TR>
									<TD>名：</TD>
									<TD>
										<asp:TextBox id="FirstName" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>姓：</TD>
									<TD>
										<asp:TextBox id="LastName" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD vAlign="bottom" align="right" colSpan="2" height="100%">
										<INPUT id="Next1" type="submit" value=" 下一步 >> " name="Submit1" runat="server">
									</TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
				</TABLE>
			</ASP:PANEL><ASP:PANEL id="Panel1" runat="server" Visible="false">
				<TABLE style="BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT: 10.5pt 宋体; BORDER-LEFT: black 1px solid; BORDER-BOTTOM: black 1px solid; BACKGROUND-COLOR: #cccccc" height="200" width="500">
					<TR>
						<TD style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-TOP: 10px" vAlign="top">
							<TABLE style="FONT: 10.5pt 宋体; WIDTH: 472px; HEIGHT: 174px" height="174">
								<TR>
									<TD colSpan="2"><B>完成下列字段，然后选择“下一步”继续：</B></TD>
								</TR>
								<TR height="20">
								<TR>
									<TD colSpan="2">
										<TABLE id="Table1" style="FONT: 10.5pt 宋体">
											<TR>
												<TD style="WIDTH: 46px">地址：
												</TD>
												<TD colSpan="5">&nbsp;
													<asp:TextBox id="TxtAddress" runat="server"></asp:TextBox></TD>
											</TR>
											<TR>
												<TD style="WIDTH: 46px">城市：</TD>
												<TD>&nbsp;
													<asp:TextBox id="TxtCity" runat="server"></asp:TextBox></TD>
												<TD style="WIDTH: 21px">州：</TD>
												<TD style="WIDTH: 68px">
													<asp:TextBox id="TxtState" runat="server" Width="56px"></asp:TextBox></TD>
												<TD style="WIDTH: 80px">邮政编码:</TD>
												<TD>
													<asp:TextBox id="TxtZip" runat="server" Width="54px"></asp:TextBox></TD>
											</TR>
										</TABLE>
									</TD>
								</TR>
								<TR>
									<TD vAlign="bottom" align="right" colSpan="2" height="100%">
										<INPUT id="Pre1" type="submit" value=" << 上一步 " name="Submit2" runat="server"> <INPUT id="Next2" type="submit" value=" 下一步 >> " name="Submit3" runat="server">
									</TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
				</TABLE>
			</ASP:PANEL><ASP:PANEL id="Panel2" runat="server" Visible="false">
				<TABLE style="BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT: 10.5pt 宋体; BORDER-LEFT: black 1px solid; BORDER-BOTTOM: black 1px solid; BACKGROUND-COLOR: #cccccc" height="200" width="500">
					<TR>
						<TD style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-TOP: 10px" vAlign="top">
							<TABLE style="FONT: 10.5pt 宋体" height="100%">
								<TR>
									<TD colSpan="2"><B>完成下列字段，然后选择“下一步”继续：</B></TD>
								</TR>
								<TR height="20">
								<TR>
									<TD>卡号：</TD>
									<TD>
										<asp:TextBox id="CardNum" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>信用卡类型：</TD>
									<TD>
										<asp:DropDownList id="CardType" runat="server">
											<asp:ListItem>Visa</asp:ListItem>
											<asp:ListItem>MasterCard</asp:ListItem>
											<asp:ListItem>Discover</asp:ListItem>
										</asp:DropDownList></TD>
								</TR>
								<TR>
									<TD>失效日期：
									</TD>
									<TD>
										<asp:TextBox id="Expires" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD vAlign="bottom" align="right" colSpan="2" height="100%">
										<INPUT id="Pre2" type="submit" value=" << 上一步 " name="Submit4" runat="server"> <INPUT id="Finish" type="submit" value="   完成   " name="Submit5" runat="server">
									</TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
				</TABLE>
			</ASP:PANEL></form>
		<asp:label id="MyLabel" runat="server" EnableViewState="false"></asp:label>
	</body>
</HTML>
