<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebStructure.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Using a Structure</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Label ID="lblName" runat="server" Text="Name" AccessKey="M" 
            AssociatedControlID="txtName"></asp:Label>
        <asp:TextBox ID="txtName" runat="server" Width="180px" ReadOnly="True"></asp:TextBox>
        <br />
        <asp:Label ID="lblAddress" runat="server" Text="Address" AccessKey="A" 
            AssociatedControlID="txtAddress"></asp:Label>
        <asp:TextBox ID="txtAddress" runat="server" Width="180px" ReadOnly="True"></asp:TextBox>
        <br />
        <asp:Label ID="lblCity" runat="server" Text="City" AccessKey="C" 
            AssociatedControlID="txtCity"></asp:Label>
        <asp:TextBox ID="txtCity" runat="server" Width="180px" ReadOnly="True"></asp:TextBox>
        <br />
        <asp:Label ID="lblState" runat="server" Text="State" AccessKey="S" 
            AssociatedControlID="txtState"></asp:Label>
        <asp:TextBox ID="txtState" runat="server" Width="180px" ReadOnly="True"></asp:TextBox>
        <br />
        <asp:Label ID="lblZIPCode" runat="server" Text="ZIP Code" AccessKey="Z" 
            AssociatedControlID="txtZIPCode"></asp:Label>
        <asp:TextBox ID="txtZIPCode" runat="server" Width="180px" ReadOnly="True"></asp:TextBox>
        <br />
        <asp:Button ID="btnNext" runat="server" onclick="btnNext_Click" Text="Next" />
        <asp:Button ID="btnPrevious" runat="server" onclick="btnPrevious_Click" 
            Text="Previous" />
        <br />
        <asp:Label ID="lblStatus" runat="server" ForeColor="Red" 
            Visible="False" AccessKey="T"></asp:Label>
        <asp:HiddenField ID="CurrentRecord" runat="server" Value="0" />
    
    </div>
    </form>
</body>
</html>
