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

百货/超市行业

开发平台:

ASP/ASPX

  1. <%@ Page language="c#" Codebehind="OrderDetails.aspx.cs" AutoEventWireup="false" Inherits="eshop.OrderDetails" %>
  2. <%@ Register TagPrefix="eshop" TagName="CategoryList" Src="UserControl/CategoryList.ascx" %>
  3. <%@ Register TagPrefix="eshop" TagName="UserMenu" Src="UserControl/UserMenu.ascx" %>
  4. <%@ Register TagPrefix="eshop" TagName="HeaderMenu" Src="UserControl/HeaderMenu.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. <asp:Label id="MyError" CssClass="ErrorText" EnableViewState="false" runat="Server" />
  29. <table id="detailsTable" height="100%" cellspacing="0" cellpadding="0" width="550" border="0"
  30. EnableViewState="false" runat="server">
  31. <tr valign="top">
  32. <td width="100%" class="Normal">
  33. <br>
  34. <b>您的订单号是: </b>
  35. <asp:Label ID="lblOrderNumber" EnableViewState="false" runat="server" />
  36. <br>
  37. <b>订单日期为: </b>
  38. <asp:Label ID="lblOrderDate" EnableViewState="false" runat="server" />
  39. <br>
  40. <br>
  41. <asp:DataGrid id="GridControl1" width="90%" BorderColor="black" GridLines="Vertical" cellpadding="4"
  42. cellspacing="0" Font-Name="Verdana" Font-Size="8pt" ShowFooter="true" HeaderStyle-CssClass="CartListHead"
  43. FooterStyle-CssClass="cartlistfooter" ItemStyle-CssClass="CartListItem" AlternatingItemStyle-CssClass="CartListItemAlt"
  44. AutoGenerateColumns="false" runat="server">
  45. <Columns>
  46. <asp:BoundColumn HeaderText="商品编号" DataField="ProductID" />
  47. <asp:BoundColumn HeaderText="商品名称" DataField="ProductName" />
  48. <asp:BoundColumn HeaderText="价格" DataField="UnitCost" DataFormatString="{0:c}" />
  49. <asp:BoundColumn HeaderText="数量" DataField="Quantity" />
  50. <asp:BoundColumn HeaderText="小计" DataField="ExtendedAmount" DataFormatString="{0:c}" />
  51. </Columns>
  52. </asp:DataGrid>
  53. <br>
  54. <b>总计: </b>
  55. <asp:Label ID="lblTotal" EnableViewState="false" runat="server" />
  56. </td>
  57. </tr>
  58. </table>
  59. </td>
  60. </tr>
  61. </table>
  62. </td>
  63. </tr>
  64. </table>
  65. </body>
  66. </HTML>