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

📄 default.aspx

📁 Asp.net购物车示例源码[VS2005] 可以实现购物车基本功能:在线购物、在线结算、在线充值、在线支付(未完成) 有用户注册功能 默认用户密码51aspx 数据库文件在App
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>在线购物车示例源码|-51aspx.com</title>
</head>
<body bgcolor ="#ffffcc">
    <form id="form1" runat="server">
    <div>
        &nbsp;</div>
        <table  width =100% align =center >
            <tr>
                <td colspan="3" style="height: 63px">
                </td>
            </tr>
            <tr>
                <td align="center" colspan="3" valign="middle">
                    <table border="1" bordercolor="#330000" style="width: 281px">
                        <tr>
                            <td colspan="2">
                    <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Names="隶书" Font-Size="X-Large"
                        ForeColor="Red" Text="进入购物商城"></asp:Label></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="3" valign="middle">
                </td>
            </tr>
            <tr>
                <td align="center" colspan="3" valign="middle">
                </td>
            </tr>
            <tr>
                <td align="center" colspan="3" style="height: 21px" valign="middle">
                    <table align="center" border="1" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="font-weight: bold; width: 304px; color: #ff3300; height: 16px; background-color: #ffffcc;
                                text-align: center">
                                <asp:Label ID="labLogin" runat="server" Font-Size="9pt" Text="登录用户" Width="124px"></asp:Label></td>
                        </tr>
                        <tr>
                            <td style="vertical-align: top; width: 304px; background-color: #ffffcc">
                                <table id="TABLE1" align="center" border="1" bordercolor="aliceblue" cellpadding="0"
                                    cellspacing="0" onclick="return TABLE1_onclick()">
                                    <tr>
                                        <td style="width: 107px; height: 23px; text-align: center">
                                            <asp:Label ID="Label2" runat="server" Text="用户ID"></asp:Label></td>
                                        <td style="width: 188px; height: 23px; text-align: center">
                                            <asp:TextBox ID="TextBox2" runat="server" Height="20px" Width="150px" OnTextChanged="TextBox2_TextChanged"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 107px; height: 25px; text-align: center">
                                            <asp:Label ID="Label3" runat="server" Text="密码"></asp:Label></td>
                                        <td style="width: 188px; height: 25px; text-align: center">
                                            <asp:TextBox ID="TextBox3" runat="server" Height="20px" TextMode="Password" Width="150px"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 107px; height: 19px; text-align: center">
                                        </td>
                                        <td style="width: 188px; height: 19px; text-align: center">
                                            <asp:Button ID="Button2" runat="server" ForeColor="Red" Style="font-weight: bold"
                                                Text="登录" OnClick="Button2_Click1" />
                                            &nbsp;
                                            <asp:Button ID="Button3" runat="server" ForeColor="Red" Style="font-weight: bold"
                                                Text="重置" OnClick="Button3_Click" />&nbsp;
                                            <asp:Button ID="Button4" runat="server" ForeColor="Red" OnClick="Button4_Click" Style="font-weight: bold"
                                                Text="注册" /></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <br />
                </td>
            </tr>
            <tr>
                <td align="center" colspan="3" style="height: 21px" valign="middle">
                </td>
            </tr>
            <tr>
                <td align="center" colspan="3" style="height: 21px" valign="middle">
                </td>
            </tr>
            <tr>
                <td align="center" colspan="3" style="height: 21px" valign="middle">
                </td>
            </tr>
            <tr>
                <td align="left" colspan="3" style="height: 21px" valign="middle">
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    <asp:Label ID="Label4" runat="server" ForeColor="Red" Height="20px" Style="font-weight: bold"
                        Text="如果你是新注册用户,请先办理银行帐户"></asp:Label><asp:Button ID="Button1" runat="server" ForeColor="Red"
                            OnClick="Button1_Click" Style="font-weight: bold" Text="银行" /></td>
            </tr>
        </table>
    </form>
</body>
</html>

⌨️ 快捷键说明

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