⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 billing.aspx

📁 一个很好的网上购物系统!进行了新的修改具有很多的功能!
💻 ASPX
字号:
<%@ Page validaterequest="false" Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" CodeFile="Billing.aspx.cs" Inherits="Billing" Title="Billing Information" %>

<%@ Register Src="Modules/PPStandardCheckout.ascx" TagName="PPStandardCheckout" TagPrefix="uc2" %>

<%@ Register Src="Modules/LocationSelector.ascx" TagName="LocationSelector" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <h2><a href="checkout.aspx"> 邮寄 >>></a>  付款 >>> </h2>
    <h2 class="shaded">确认并购买</h2>
    <br /><br />

<asp:Panel ID="pnlError" runat="server" Visible="false">
    <div class="errorbox"><asp:Label Runat="server" ID="lblError"></asp:Label></div>
</asp:Panel>
<table border="0" cellpadding="5" cellspacing="0"><tr>
    <td valign="top">    
	<br />
        <!--
		<table width=100%>
            <tr>
                <td height=25 class=sectionheader><b>Payment Method</b></td>
            </tr>
            <tr>
                <td >
                <div class=plainbox>
                    <asp:RadioButtonList ID="radPayType" runat="server" AutoPostBack="True">
                        <asp:ListItem Selected="True">&lt;IMG SRC=&quot;images/ccs.gif&quot; /&gt;</asp:ListItem>
                        <asp:ListItem CssClass=plainbox>&lt;IMG SRC=&quot;images/ppsmall.gif&quot; align=absmiddle/&gt;
                        Save Time. Checkout Securely.Pay withouth sharing your financial information.</asp:ListItem>
                    </asp:RadioButtonList>
                 </div>
                 </td>
            </tr>
           
        </table> 
        -->
        <asp:Panel ID="pnlBillInfo" runat="server">

        <table width="100%">
            <tr>
                <td class="sectionheader" >信用卡</td>
            </tr>
            <tr>
                <td>
                    <table >
                        <tr>
                            <td  class="checkoutlabel">信用卡类型</td>
                            <td >
                                <asp:DropDownList ID="ddlCCType" runat="server">
                                    <asp:ListItem>Visa</asp:ListItem>
                                    <asp:ListItem>MasterCard</asp:ListItem>
                                    <asp:ListItem>AMEX</asp:ListItem>
                                </asp:DropDownList></td>
                          </tr>
                         <tr>
                            <td  class="checkoutlabel">信用卡号码</td>
                            <td ><asp:TextBox Runat="server" ID="txtCCNumber" Width="276px">4869269250951863</asp:TextBox><asp:RequiredFieldValidator
                                    ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtCCNumber" ErrorMessage="Required"></asp:RequiredFieldValidator></td>
                          </tr>                   
                         <tr>
                            <td class="checkoutlabel" >安全码</td>
                            <td ><asp:TextBox Runat="server" ID="txtCCAuthCode" Width="38px">027</asp:TextBox><asp:RequiredFieldValidator
                                    ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtCCAuthCode"
                                    ErrorMessage="Required"></asp:RequiredFieldValidator></td>
                            </tr> 
                        <tr>
                            <td  class="checkoutlabel">过期日期</td>
                            <td >
                            <asp:DropDownList ID="ddlExpMonth" runat="server" Width="49px">
                                    <asp:ListItem >01</asp:ListItem>
                                    <asp:ListItem>02</asp:ListItem>
                                    <asp:ListItem>03</asp:ListItem>
                                    <asp:ListItem>04</asp:ListItem>
                                    <asp:ListItem>05</asp:ListItem>
                                    <asp:ListItem>06</asp:ListItem>
                                    <asp:ListItem>07</asp:ListItem>
                                    <asp:ListItem>08</asp:ListItem>
                                    <asp:ListItem>09</asp:ListItem>
                                    <asp:ListItem>10</asp:ListItem>
                                    <asp:ListItem>11</asp:ListItem>
                                    <asp:ListItem>12</asp:ListItem>
                               </asp:DropDownList>&nbsp;
                                <asp:DropDownList ID="ddlExpYear" runat="server" Width="73px">
                                </asp:DropDownList>
                            </td>
                         </tr>                   
                   </table>
                </td>
            </tr>
         </table>
         <br />
         <table width="100%">
            <tr>
                <td class="sectionheader" >付款信息</td>
            </tr>
            <tr>
                <td>
                    <table cellspacing="1" cellpadding="2" width="100%" bgcolor="white">
                    <tr>
                        <td class="checkoutlabel">
                            姓:</td>
                        <td>
                            <asp:TextBox Runat="server" ID="txtBillFirst"></asp:TextBox>
                            <asp:RequiredFieldValidator Runat="server" ControlToValidate="txtBillFirst" ErrorMessage="Required"
                                ID="RequiredFieldValidator1"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="checkoutlabel">
                            名:</td>
                        <td>
                            <asp:TextBox Runat="server" ID="txtBillLast"></asp:TextBox>
                            <asp:RequiredFieldValidator Runat="server" ControlToValidate="txtBillLast" ErrorMessage="Required"
                                ID="Requiredfieldvalidator5"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="checkoutlabel">
                            地址</td>
                        <td>
                            <asp:TextBox Runat="server" ID="txtBillAddress"></asp:TextBox>
                            <asp:RequiredFieldValidator Runat="server" ControlToValidate="txtBillAddress" ErrorMessage="Required"
                                ID="RequiredFieldValidator2"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="checkoutlabel">
                            地址 2</td>
                        <td>
                            <asp:TextBox Runat="server" ID="txtBillAddress2"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="checkoutlabel">
                            城市</td>
                        <td>
                            <asp:TextBox Runat="server" ID="txtBillCity"></asp:TextBox>
                            <asp:RequiredFieldValidator Runat="server" ControlToValidate="txtBillCity" ErrorMessage="Required"
                                ID="RequiredFieldValidator3"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <uc1:LocationSelector id="LocationSelector1" runat="server" />

                    <tr>
                        <td class="checkoutlabel">
                            邮编</td>
                        <td>
                            <asp:TextBox Runat="server" ID="txtBillZip"></asp:TextBox>
                            <asp:RequiredFieldValidator Runat="server" ControlToValidate="txtBillZip" Display="Dynamic"
                                ErrorMessage="Required" ID="RequiredFieldValidator6"></asp:RequiredFieldValidator>
                            &nbsp;
                        </td>
                    </tr>
                </table>
                
                </td>
            </tr>
        </table>
        <br />
 
        </asp:Panel>
        <br />
        <table width="100%">
                <tr>
                <td class="sectionheader" >订单详情</td>
            </tr>
            <tr>
			    <td bgcolor="white">
                    <asp:GridView ID="dgBasket" Runat="server" AutoGenerateColumns="False" Width="100%">
                        <EmptyDataTemplate>
                            &nbsp;-- 购物车中无商品 --
                        </EmptyDataTemplate>
                        <Columns>
                            <asp:BoundField DataField="productID" Visible="False"></asp:BoundField>
                            <asp:BoundField HeaderText="型号" DataField="ModelNumber"></asp:BoundField>
                            <asp:BoundField HeaderText="品牌" DataField="ModelName"></asp:BoundField>
                            <asp:BoundField HeaderText="数量" DataField="quantity"></asp:BoundField>
                            <asp:BoundField HeaderText="价格" DataField="Price" DataFormatString="{0:C}">
                                <ItemStyle HorizontalAlign="Right"></ItemStyle>
                            </asp:BoundField>
                            <asp:BoundField HeaderText="总价" DataField="LineTotal" DataFormatString="{0:C}">
                                <ItemStyle HorizontalAlign="Right"></ItemStyle>
                            </asp:BoundField>
                        </Columns>
                    </asp:GridView>
    				
			    </td>
		    </tr>
            <tr id="trPlaceOrder" runat="server">
                <td align="right">
                    <asp:Button ID="btnContinue" runat="server" Text="继续" PostBackUrl="~/CheckoutConfirm.aspx" />
                </td>
            </tr>
        </table>                        
	</td>
	</tr>
</table>

</asp:Content>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -