<%@ Page language="c#" Codebehind="OrdersViewDetail.aspx.cs" SmartNavigation="false" AutoEventWireup="false" Inherits="AutomatedArchitecture.Northwind.OrdersViewDetail" %>

<form id="OrdersViewDetail" method="post" runat="server">

<h1>View Orders</h1>

<h2>Order</h2>

<asp:validationsummary id=ValidationSummary1 runat="server" HeaderText="There were errors on the page" CssClass="ErrorSummary"></asp:validationsummary>

<table cellspacing="0" cellpadding="2" class="Table_ViewEntity">

      <tr class="Row_ViewEntity">

            <td class="ViewEntity_HorizontalTitle" valign="top">Order Date</td>

            <td valign="top"><asp:label id="lblOrderDate" runat="server"></asp:label>&nbsp;</td>

      </tr>

      <tr class="RowAlt_ViewEntity">

            <td class="ViewEntity_HorizontalTitle" valign="top">Required Date</td>

            <td valign="top"><asp:label id="lblRequiredDate" runat="server"></asp:label>&nbsp;</td>

      </tr>

      <tr class="Row_ViewEntity">

            <td class="ViewEntity_HorizontalTitle" valign="top">Shipped Date</td>

            <td valign="top"><asp:label id="lblShippedDate" runat="server"></asp:label>&nbsp;</td>

      </tr>

      <tr class="RowAlt_ViewEntity">

            <td class="ViewEntity_HorizontalTitle" valign="top">Shipper</td>

            <td valign="top"><asp:label id="lblShipVia" runat="server"></asp:label>&nbsp;</td>

      </tr>

      <tr class="Row_ViewEntity">

            <td class="ViewEntity_HorizontalTitle" valign="top">Freight</td>

            <td valign="top"><asp:label id="lblFreight" runat="server"></asp:label>&nbsp;</td>

      </tr>

      <tr class="RowAlt_ViewEntity">

            <td class="ViewEntity_HorizontalTitle" valign="top">Ship Name</td>

            <td valign="top"><asp:label id="lblShipName" runat="server"></asp:label>&nbsp;</td>

      </tr>

      <tr class="Row_ViewEntity">

            <td class="ViewEntity_HorizontalTitle" valign="top">Ship Address</td>

            <td valign="top"><asp:label id="lblShipAddress" runat="server"></asp:label>&nbsp;</td>

      </tr>

      <tr class="RowAlt_ViewEntity">

            <td class="ViewEntity_HorizontalTitle" valign="top">Ship City</td>

            <td valign="top"><asp:label id="lblShipCity" runat="server"></asp:label>&nbsp;</td>

      </tr>

      <tr class="Row_ViewEntity">

            <td class="ViewEntity_HorizontalTitle" valign="top">Ship Region</td>

            <td valign="top"><asp:label id="lblShipRegion" runat="server"></asp:label>&nbsp;</td>

      </tr>

      <tr class="RowAlt_ViewEntity">

            <td class="ViewEntity_HorizontalTitle" valign="top">Ship Postal Code</td>

            <td valign="top"><asp:label id="lblShipPostalCode" runat="server"></asp:label>&nbsp;</td>

      </tr>

      <tr class="Row_ViewEntity">

            <td class="ViewEntity_HorizontalTitle" valign="top">Ship Country</td>

            <td valign="top"><asp:label id="lblShipCountry" runat="server"></asp:label>&nbsp;</td>

      </tr>

      <tr class="ViewEntity_RowAlt">

            <td class="ViewEntity_HorizontalTitle" valign="top">Customer</td>

            <td valign="top">

                  <table cellspacing="0" cellpadding="0" class="Table_View1N">

                        <tr>

                              <td class="Identify_Title">Customer</td>

                        </tr>

                        <tr>

                              <td>

                                    <asp:PlaceHolder id="plhFK_Orders_Customers" runat="server"></asp:PlaceHolder>

                                    <asp:Label id="lblFK_Orders_Customers" runat="server" CssClass="ViewEntity_Data" visible="False">N/A</asp:Label>&nbsp;

                                    <asp:Button id="cmdFK_Orders_Customers" runat="server" Text="View" CssClass="Button"></asp:Button>

                              </td>

                        </tr>

                  </table>

            </td>

      </tr>

      <tr class="ViewEntity_Row">

            <td class="ViewEntity_HorizontalTitle" valign="top">Employee</td>

            <td valign="top">

                  <table cellspacing="0" cellpadding="0" class="Table_View1N">

                        <tr>

                              <td class="Identify_Title">Employee</td>

                        </tr>

                        <tr>

                              <td>

                                    <asp:PlaceHolder id="plhFK_Orders_Employees" runat="server"></asp:PlaceHolder>

                                    <asp:Label id="lblFK_Orders_Employees" runat="server" CssClass="ViewEntity_Data" visible="False">N/A</asp:Label>&nbsp;

                                    <asp:Button id="cmdFK_Orders_Employees" runat="server" Text="View" CssClass="Button"></asp:Button>

                              </td>

                        </tr>

                  </table>

            </td>

      </tr>

      <asp:Label ID="lblEditRow" RunAt="Server">

      <tr class="ViewEntity_Row">

            <td>&nbsp;</td>

            <td><asp:Button id="cmdEdit" runat="server" Text="Edit Order" CssClass="Button"></asp:Button></td>

      </tr>

      </asp:Label>

</table>

<asp:Label ID="lblViewFK_Order_Details_Orders" RunAt="Server"><h2>Order details</h2></asp:Label>

<asp:PlaceHolder id="plhFK_Order_Details_Orders" runat="server"></asp:PlaceHolder>

<asp:Button id="cmdAddFK_Order_Details_Orders" runat="server" Text="Add" CssClass="Button_OutsideTable"></asp:Button>

</form>