<%@ Control language="c#" AutoEventWireup="false" Codebehind="OrderDetailsViewMultiple.ascx.cs" Inherits="AutomatedArchitecture.Northwind.WebUserControls.OrderDetailsViewMultiple" %>

 

<asp:DataGrid id="dgResults" AutoGenerateColumns="False" runat="server" HeaderStyle-CssClass="ViewMultiple_Header" ItemStyle-CssClass="Row_ViewMultiple" AlternatingItemStyle-CssClass="RowAlt_ViewMultiple" CellPadding="2" CellSpacing="0" CssClass="Table_ViewMultiple">

      <Columns>

            <asp:BoundColumn Visible="False" DataField="OrderID"></asp:BoundColumn>

            <asp:BoundColumn Visible="False" DataField="ProductID"></asp:BoundColumn>

            <asp:BoundColumn DataField="FK_Order_Details_Orders_OrderDate" DataFormatString="{0:d}" HeaderText="Order Order Date"></asp:BoundColumn>

            <asp:BoundColumn DataField="FK_Order_Details_Products_ProductName" HeaderText="Product Product Name"></asp:BoundColumn>

            <asp:BoundColumn DataField="FK_Order_Details_Products_UnitPrice" DataFormatString="{0:c}" HeaderText="Product Unit Price"></asp:BoundColumn>

            <asp:BoundColumn DataField="FK_Order_Details_Products_UnitsInStock" HeaderText="Product Units In Stock"></asp:BoundColumn>

            <asp:BoundColumn DataField="UnitPrice" DataFormatString="{0:c}" HeaderText="Unit Price"></asp:BoundColumn>

            <asp:BoundColumn DataField="Quantity" HeaderText="Quantity"></asp:BoundColumn>

            <asp:BoundColumn DataField="Discount" HeaderText="Discount"></asp:BoundColumn>

            <asp:ButtonColumn Text="Select" ButtonType="PushButton" CommandName="Select" ItemStyle-Width="10"></asp:ButtonColumn>

      </Columns>

</asp:DataGrid>

<asp:Label id="lblNoResults" runat="server"><table class="Table_ViewMultiple" cellspacing="0" cellpadding="0"><tr><td>None</td></tr></table></asp:Label>