votemanage.aspx

来自「这是用asp做的一个实现投票和投票管理的小项目」· ASPX 代码 · 共 65 行

ASPX
65
字号
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="voteManage.aspx.cs" Inherits="Default2" %>

<!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>
<script language="javascript" type="text/javascript">
// <!CDATA[

function TABLE1_onclick() {

}

// ]]>
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div style="text-align: center">
            &nbsp;<table border="0" cellpadding="0" cellspacing="0" style="width: 75%; height: 68px" id="TABLE1" onclick="return TABLE1_onclick()">
                <tr>
                    <td style="width: 297px; color: #00ff66; height: 19px; background-color: #9933ff">
                        <asp:Label ID="Label2" runat="server" Text="投票项目管理"></asp:Label></td>
                    <td style="width: 280px; color: #00ff66; height: 19px; background-color: #9933ff">
                        <asp:Label ID="Label3" runat="server" Text="投票单项管理"></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 297px; height: 70px">
                        <asp:ListBox ID="ListBox1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ListBox1_SelectedIndexChanged"
                            Style="font-weight: bold; color: #9933ff" Width="279px"></asp:ListBox></td>
                    <td style="width: 280px; height: 70px">
                        <asp:ListBox ID="ListBox2" runat="server"
                            Style="font-weight: bold; color: #9933ff" Width="263px" AutoPostBack="True" OnSelectedIndexChanged="ListBox2_SelectedIndexChanged"></asp:ListBox></td>
                </tr>
                <tr>
                    <td style="width: 297px; height: 43px;">
                        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Style="font-weight: bold;
                            color: #9933ff; font-style: normal" Text="选择当前投票项目" />
                        <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Style="font-weight: bold;
                            color: #9933ff; font-style: normal" Text="删除" /><br />
                        <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="MediumPurple"></asp:Label></td>
                    <td style="width: 280px; height: 43px;">
                        <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Style="font-weight: bold;
                            color: #9933ff" Text="删除" /></td>
                </tr>
                <tr>
                    <td style="font-weight: bold; width: 297px; color: #9933ff; height: 25px;">
                        项目名称<asp:TextBox ID="TextBox1" runat="server" OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
                        <asp:Button ID="Button4" runat="server" OnClick="Button4_Click" Style="font-weight: bold;
                            color: #9933ff" Text="添加" /></td>
                    <td style="width: 280px; height: 25px;">
                        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                        <asp:Button ID="Button5" runat="server" OnClick="Button5_Click" Style="font-weight: bold;
                            color: #9933ff" Text="添加" /></td>
                </tr>
            </table>
        </div>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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