OrderList.aspx
资源名称:SHOPASP.rar [点击查看]
上传用户:xiecaij
上传日期:2015-02-08
资源大小:2016k
文件大小:3k
源码类别:
百货/超市行业
开发平台:
ASP/ASPX
- <%@ Page language="c#" Codebehind="OrderList.aspx.cs" AutoEventWireup="false" Inherits="eshop.OrderList" %>
- <%@ Register TagPrefix="eshop" TagName="CategoryList" Src="UserControl/CategoryList.ascx" %>
- <%@ Register TagPrefix="eshop" TagName="HeaderMenu" Src="UserControl/HeaderMenu.ascx" %>
- <%@ Register TagPrefix="eshop" TagName="UserMenu" Src="UserControl/UserMenu.ascx" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>EShop</title>
- <LINK href="Styles.css" type="text/css" rel="stylesheet">
- </HEAD>
- <body>
- <table cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tr>
- <td colSpan="2"><eshop:headermenu id="Header1" runat="server"></eshop:headermenu></td>
- </tr>
- <tr>
- <td valign="top" width="145">
- <span id="LogOutArea" runat="server">
- <eshop:CategoryList id="Menu1" runat="server" />
- </span><span id="LogInArea" runat="server">
- <eshop:UserMenu id="Menu2" runat="server" />
- </span><img height="1" src="images/space.gif" width="145">
- </td>
- <td align="left" valign="top" width="700">
- <table align="center" width="100%" border="0">
- <tr valign="bottom">
- <td align="center">
- <font color="red">
- <asp:Label id="MyError" class="ErrorText" runat="Server" />
- </font>
- <table height="100%" cellspacing="0" cellpadding="0" width="550" border="0">
- <tr valign="top">
- <td width="100%">
- <asp:DataGrid id="MyList" width="90%" BorderColor="Black" GridLines="Vertical" cellpadding="4"
- Font-Name="Verdana" Font-Size="8pt" ShowFooter="True" HeaderStyle-CssClass="CartListHead"
- FooterStyle-CssClass="cartlistfooter" ItemStyle-CssClass="CartListItem" AlternatingItemStyle-CssClass="CartListItemAlt"
- AutoGenerateColumns="False" runat="server" Font-Names="Verdana">
- <AlternatingItemStyle CssClass="CartListItemAlt"></AlternatingItemStyle>
- <ItemStyle CssClass="CartListItem"></ItemStyle>
- <HeaderStyle CssClass="CartListHead"></HeaderStyle>
- <FooterStyle CssClass="cartlistfooter"></FooterStyle>
- <Columns>
- <asp:BoundColumn DataField="OrderID" HeaderText="订单号"></asp:BoundColumn>
- <asp:BoundColumn DataField="OrderDate" HeaderText="订单时间" DataFormatString="{0:d}"></asp:BoundColumn>
- <asp:BoundColumn DataField="OrderTotal" HeaderText="订单总额" DataFormatString="{0:c}"></asp:BoundColumn>
- <asp:HyperLinkColumn Text="查询" DataNavigateUrlField="OrderID" DataNavigateUrlFormatString="orderdetails.aspx?OrderID={0}"
- HeaderText="查询详细信息">
- <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- <FooterStyle HorizontalAlign="Center"></FooterStyle>
- </asp:HyperLinkColumn>
- </Columns>
- </asp:DataGrid>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </HTML>