OrderList.aspx
上传用户:xiecaij
上传日期:2015-02-08
资源大小:2016k
文件大小:3k
源码类别:

百货/超市行业

开发平台:

ASP/ASPX

  1. <%@ Page language="c#" Codebehind="OrderList.aspx.cs" AutoEventWireup="false" Inherits="eshop.OrderList" %>
  2. <%@ Register TagPrefix="eshop" TagName="CategoryList" Src="UserControl/CategoryList.ascx" %>
  3. <%@ Register TagPrefix="eshop" TagName="HeaderMenu" Src="UserControl/HeaderMenu.ascx" %>
  4. <%@ Register TagPrefix="eshop" TagName="UserMenu" Src="UserControl/UserMenu.ascx" %>
  5. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  6. <HTML>
  7. <HEAD>
  8. <title>EShop</title>
  9. <LINK href="Styles.css" type="text/css" rel="stylesheet">
  10. </HEAD>
  11. <body>
  12. <table cellSpacing="0" cellPadding="0" width="100%" border="0">
  13. <tr>
  14. <td colSpan="2"><eshop:headermenu id="Header1" runat="server"></eshop:headermenu></td>
  15. </tr>
  16. <tr>
  17. <td valign="top" width="145">
  18. <span id="LogOutArea" runat="server">
  19. <eshop:CategoryList id="Menu1" runat="server" />
  20. </span><span id="LogInArea" runat="server">
  21. <eshop:UserMenu id="Menu2" runat="server" />
  22. </span><img height="1" src="images/space.gif" width="145">
  23. </td>
  24. <td align="left" valign="top" width="700">
  25. <table align="center" width="100%" border="0">
  26. <tr valign="bottom">
  27. <td align="center">
  28. <font color="red">
  29. <asp:Label id="MyError" class="ErrorText" runat="Server" />
  30. </font>
  31. <table height="100%" cellspacing="0" cellpadding="0" width="550" border="0">
  32. <tr valign="top">
  33. <td width="100%">
  34. <asp:DataGrid id="MyList" width="90%" BorderColor="Black" GridLines="Vertical" cellpadding="4"
  35. Font-Name="Verdana" Font-Size="8pt" ShowFooter="True" HeaderStyle-CssClass="CartListHead"
  36. FooterStyle-CssClass="cartlistfooter" ItemStyle-CssClass="CartListItem" AlternatingItemStyle-CssClass="CartListItemAlt"
  37. AutoGenerateColumns="False" runat="server" Font-Names="Verdana">
  38. <AlternatingItemStyle CssClass="CartListItemAlt"></AlternatingItemStyle>
  39. <ItemStyle CssClass="CartListItem"></ItemStyle>
  40. <HeaderStyle CssClass="CartListHead"></HeaderStyle>
  41. <FooterStyle CssClass="cartlistfooter"></FooterStyle>
  42. <Columns>
  43. <asp:BoundColumn DataField="OrderID" HeaderText="订单号"></asp:BoundColumn>
  44. <asp:BoundColumn DataField="OrderDate" HeaderText="订单时间" DataFormatString="{0:d}"></asp:BoundColumn>
  45. <asp:BoundColumn DataField="OrderTotal" HeaderText="订单总额" DataFormatString="{0:c}"></asp:BoundColumn>
  46. <asp:HyperLinkColumn Text="查询" DataNavigateUrlField="OrderID" DataNavigateUrlFormatString="orderdetails.aspx?OrderID={0}"
  47. HeaderText="查询详细信息">
  48. <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
  49. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  50. <FooterStyle HorizontalAlign="Center"></FooterStyle>
  51. </asp:HyperLinkColumn>
  52. </Columns>
  53. </asp:DataGrid>
  54. </td>
  55. </tr>
  56. </table>
  57. </td>
  58. </tr>
  59. </table>
  60. </td>
  61. </tr>
  62. </table>
  63. </body>
  64. </HTML>