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

📄 cst_items_add.aspx

📁 小型的一个简单的系统开发的实现了简---添加--删除--修改---(vs2005和SQl2005)用到了一些JS脚本
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CST_items_add.aspx.cs" Inherits="Admin_CST_items_add" %>

<!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>商品添加修改</title>
</head>
<body  style="background-color: #dee5ef;">
    <form id="form1" runat="server">
    <div style="text-align: center">
        <table style="width: 280px; height: 297px">
            <tr>
                <td colspan="3" style="height: 20px" align="center">
                    <asp:Label ID="Label1" runat="server" Text="添加商品" Width="84px"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="商品编号" Width="108px"></asp:Label></td>
                <td colspan="2">
                    <asp:TextBox ID="TxtItem_id" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label3" runat="server" Text="商品类别" Width="108px"></asp:Label></td>
                <td colspan="2">
                    <asp:TextBox ID="TextId" runat="server"></asp:TextBox>
                    <asp:DropDownList ID="TxtCat" runat="server" Width="157px">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label4" runat="server" Text="商品名称" Width="108px"></asp:Label></td>
                <td colspan="2">
                    <asp:TextBox ID="TxtName" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label5" runat="server" Text="商品描述" Width="108px"></asp:Label></td>
                <td colspan="2">
                    <asp:TextBox ID="TxtDes" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label6" runat="server" Text="商品数量" Width="108px"></asp:Label></td>
                <td colspan="2">
                    <asp:TextBox ID="TxtQua" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label7" runat="server" Text="商品价格" Width="108px"></asp:Label></td>
                <td colspan="2">
                    <asp:TextBox ID="TxtPrice" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label8" runat="server" Text="商品小图" Width="108px"></asp:Label></td>
                <td colspan="2">
                    <asp:TextBox ID="TxtSmall" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label9" runat="server" Text="商品大图" Width="108px"></asp:Label></td>
                <td colspan="2">
                    <asp:TextBox ID="TxtBig" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="BtnOk" runat="server" Text="添加" OnClick="BtnOk_Click" /></td>
                <td colspan="2">
                    <asp:Button ID="BtnCancel" runat="server" Text="取消" OnClick="BtnCancel_Click" /></td>
            </tr>
            
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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