<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="CustomerAmendDetails.aspx.cs" Inherits="PirTickets.CustomerAmendDetails" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="2" border="0">
 <tr><td colspan="4"><h3>Edit Customer Details</h3></td></tr>
        <tr>
            <td>ID</td>
            <td>&nbsp;</td>
            <td class="style1">
                <asp:Label ID="lblCustId" runat="server" Text="Label"></asp:Label>
            </td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Username:</td>
            <td>&nbsp;</td>
            <td class="style1">
                 <asp:TextBox ID="txtUsername" runat="server" MaxLength="50" 
                     Width="209px" AutoPostBack="True" 
                    ReadOnly="True" Enabled="False"></asp:TextBox>
            </td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Organization Name:</td>
            <td></td>
            <td class="style1">
                <asp:TextBox ID="TxtOrganizationName" MaxLength="50" 
                    runat="server" Width="282px" /></td>
            <td>Trade? :<asp:Label ID="lbltrade" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>Contact Title:</td>
            <td>&nbsp;</td>
            <td class="style1"><asp:TextBox ID="TxtContactTitle" MaxLength="50" runat="server" 
                    Width="74px" /></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>First Name:</td>
            <td></td>
            <td class="style1"><asp:TextBox ID="TxtFirstName" MaxLength="50" runat="server" /></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="TxtFirstName" ErrorMessage="First Name Required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Last Name:</td>
            <td></td>
            <td class="style1"><asp:TextBox ID="TxtLastName" MaxLength="50" runat="server" 
                    Width="171px" /></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="TxtLastName" ErrorMessage="Surname Required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Address:</td>
            <td></td>
            <td class="style1">
                <asp:TextBox ID="TxtAddress" MaxLength="255" runat="server" 
                    Width="239px" ReadOnly="True" /></td>
            <td></td>
        </tr>
        <tr>
            <td>Region:</td>
            <td></td>
            <td class="style1">
                <asp:TextBox ID="TxtRegion" MaxLength="50" runat="server" 
                    Width="165px" ReadOnly="True" /></td>
            <td></td>
        </tr>
        <tr>
            <td>City:</td>
            <td></td>
            <td class="style1">
                <asp:TextBox ID="TxtCity" MaxLength="50" runat="server" 
                    Width="155px" ReadOnly="True" /></td>
            <td></td>
        </tr>
        <tr>
            <td>County:</td>
            <td></td>
            <td class="style1"><asp:TextBox ID="TxtState" MaxLength="50" runat="server" 
                    ReadOnly="True" /></td>
            <td></td>
        </tr>
        <tr>
            <td>Postal Code:</td>
            <td></td>
            <td class="style1"><asp:TextBox ID="TxtPostalCode" MaxLength="20" runat="server" 
                    ReadOnly="True" /></td>
            <td></td>
        </tr>
        <tr>
            <td>Country:</td>
            <td></td>
            <td class="style1"><asp:TextBox ID="TxtCountry" MaxLength="50" runat="server" 
                    ReadOnly="True" >UK</asp:TextBox>
            </td>
            <td></td>
        </tr>
        <tr>
            <td>Email:</td>
            <td></td>
            <td class="style1"><asp:TextBox ID="TxtEmailName" MaxLength="50" runat="server" 
                    Width="307px" /></td>
            <td></td>
        </tr>
        <tr>
            <td>Phone Number:</td>
            <td></td>
            <td class="style1"><asp:TextBox ID="TxtPhoneNumber" MaxLength="30" runat="server" 
                    Width="171px" /></td>
            <td></td>
        </tr>
        <tr>
            <td>Mobile Phone:</td>
            <td>&nbsp;</td>
            <td class="style1"><asp:TextBox ID="TxtMobilePhone" MaxLength="30" runat="server" 
                    Width="171px" /></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Fax Number:</td>
            <td></td>
            <td class="style1"><asp:TextBox ID="TxtFaxNumber" MaxLength="30" runat="server" 
                    Width="168px" /></td>
            <td></td>
        </tr>
        <tr>
            <td valign="top">&nbsp;</td>
            <td></td>
            <td class="style1">&nbsp;</td>
            <td></td>
        </tr>
        <tr>
            <td>Payment Terms:</td>
            <td></td>
            <td class="style1">
                <asp:Label ID="lblPayment" runat="server"></asp:Label>
            </td>
            <td></td>
        </tr>
        <tr>
            <td>Preferred<br />
                Delivery Route:</td>
            <td></td>
            <td class="style1">
                <asp:DropDownList ID="ddShipping" runat="server" 
                    DataSourceID="SqlDataShipping" DataTextField="ShipMethod" 
                    DataValueField="ID">
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataShipping" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:PirTickets %>" 
                    SelectCommand="SELECT [ID], [ShipMethod] FROM [shipvia]">
                </asp:SqlDataSource>
            </td>
            <td></td>
        </tr>
            <tr>
                <td>Date Added:</td>
                <td></td>
                <td class="style1">
                    <asp:Label ID="lblAdded" runat="server" Text="Label"></asp:Label>
                </td>
                <td></td>
            </tr>
        <tr>
            <td colspan="2"></td>
            <td colspan="2">

                <asp:Button ID="BtnUpdate" runat="server" Text="Update" 
                    onclick="BtnUpdate_Click" />&nbsp;&nbsp; &nbsp;
                <asp:Button ID="BtnCancel" CausesValidation="false" runat="server" 
                    Text="Cancel" onclick="BtnCancel_Click" />

            </td>
        </tr>
    </table>
</asp:Content>
