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

百货/超市行业

开发平台:

ASP/ASPX

  1. <%@ Register TagPrefix="eshop" TagName="HeaderMenu" Src="UserControl/HeaderMenu.ascx" %>
  2. <%@ Register TagPrefix="eshop" TagName="CategoryList" Src="UserControl/CategoryList.ascx" %>
  3. <%@ Page language="c#" Codebehind="CheckOut.aspx.cs" AutoEventWireup="false" Inherits="eshop.CheckOut" %>
  4. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  5. <HTML>
  6. <HEAD>
  7. <title>EShop</title>
  8. <LINK href="Styles.css" type="text/css" rel="stylesheet">
  9. </HEAD>
  10. <body>
  11. <table cellSpacing="0" cellPadding="0" width="100%" border="0">
  12. <tr>
  13. <td colSpan="2"><eshop:headermenu id="Header1" runat="server"></eshop:headermenu></td>
  14. </tr>
  15. <tr>
  16. <td valign="top" width="145">
  17. <eshop:CategoryList id="Menu1" runat="server" />
  18. <img height="1" src="images/space.gif" width="145">
  19. </td>
  20. <td align="left" valign="top" width="700">
  21. <table align="center" width="100%" border="0">
  22. <tr valign="bottom">
  23. <td align="center">
  24. <form runat="server" ID="Form1">
  25. <table height="100%" cellspacing="0" cellpadding="0" width="550" border="0">
  26. <tr valign="top">
  27. <td width="100%" class="Normal">
  28. <br>
  29. <asp:Label ID="Message" runat="server">请确认您提交的购物记录是否正确</asp:Label>
  30. <br>
  31. <br>
  32. <asp:DataGrid id="MyDataGrid" width="90%" BorderColor="black" GridLines="Vertical" cellpadding="4"
  33. cellspacing="0" Font-Name="Verdana" Font-Size="8pt" ShowFooter="true" HeaderStyle-CssClass="CartListHead"
  34. FooterStyle-CssClass="cartlistfooter" ItemStyle-CssClass="CartListItem" AlternatingItemStyle-CssClass="CartListItemAlt"
  35. AutoGenerateColumns="false" runat="server">
  36. <Columns>
  37. <asp:BoundColumn HeaderText="商品编号" DataField="ProductID" />
  38. <asp:BoundColumn HeaderText="商品名称" DataField="ProductName" />
  39. <asp:BoundColumn HeaderText="价格" DataField="ProductPrice" DataFormatString="{0:c}" />
  40. <asp:BoundColumn HeaderText="数量" DataField="Quantity" />
  41. <asp:BoundColumn HeaderText="小计" DataField="ExtendedAmount" DataFormatString="{0:c}" />
  42. </Columns>
  43. </asp:DataGrid>
  44. <br>
  45. <br>
  46. <b>总计: </b>
  47. <asp:Label ID="TotalLbl" runat="server" />
  48. <p>
  49. <asp:Button id="SubmitBtn" runat="server" Text="提交" Width="56px" />
  50. </p>
  51. </td>
  52. </tr>
  53. </table>
  54. </form>
  55. </td>
  56. </tr>
  57. </table>
  58. </td>
  59. </tr>
  60. </table>
  61. </body>
  62. </HTML>